Annual report pursuant to Section 13 and 15(d)

Income Taxes - Narrative (Details)

v3.22.2.2
Income Taxes - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Effective Income Tax Rate Reconciliation, Percent, Total 12.70% 5.80% 17.10%
Income Tax Expense (Benefit), Discrete Tax Items   $ 28,100 $ 19,400
Excess Tax Benefit from Share-based Compensation, Operating Activities $ 29,300 28,100 17,700
Deferred Tax Assets, Valuation Allowance, Total 9,466 6,665 $ 6,700
Deferred Tax Assets, Net of Valuation Allowance, Total 76,223 $ 86,883  
Undistributed Earnings of Foreign Subsidiaries, considered permanently and non-permanently reinvested 238,000    
Undistributed Earnings of Foreign Subsidiaries, considered non-permanently reinvested 97,000    
Undistributed Earnings of Foreign Subsidiaries, considered permanently reinvested 141,000    
Unrecognized Tax Benefits that Would Impact Effective Tax Rate 5,300    
Accrued interest and penalties related to unrecognized tax benefits 300    
Operating Loss Carryforwards [Member]      
Deferred Tax Assets, Net of Valuation Allowance, Total 21,600    
Tax Credit Carryforwards [Member]      
Deferred Tax Assets, Valuation Allowance, Total 10,000    
Domestic Tax Authority [Member]      
Tax Credit Carryforward, Amount 8,000    
Domestic Tax Authority [Member] | Operating Loss Carryforwards [Member]      
Operating Loss Carryforwards, Total 72,200    
State and Local Jurisdiction [Member]      
Tax Credit Carryforward, Amount 6,500    
State and Local Jurisdiction [Member] | Operating Loss Carryforwards [Member]      
Operating Loss Carryforwards, Total 161,700    
Foreign Tax Authority [Member] | Operating Loss Carryforwards [Member]      
Operating Loss Carryforwards, Total $ 14,000