Annual report pursuant to Section 13 and 15(d)

Income Taxes - Narrative (Details)

v3.23.2
Income Taxes - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Effective Income Tax Rate Reconciliation, Percent, Total 15.70% 12.70% 5.80%
Share-based compensation excess tax benefit $ 12,300 $ 29,300 $ 28,100
Deferred Tax Assets, Valuation Allowance, Total 9,344 9,466  
Deferred Tax Assets, Net of Valuation Allowance, Total 95,023 76,223  
Undistributed Earnings of Foreign Subsidiaries, considered permanently and non-permanently reinvested 219,000    
Undistributed Earnings of Foreign Subsidiaries, considered non-permanently reinvested 99,000    
Undistributed Earnings of Foreign Subsidiaries, considered permanently reinvested 120,000    
Unrecognized Tax Benefits that Would Impact Effective Tax Rate 5,300    
Accrued interest and penalties related to unrecognized tax benefits 500 $ 300  
Operating Loss Carryforwards [Member]      
Deferred Tax Assets, Net of Valuation Allowance, Total 14,800    
Tax Credit Carryforwards [Member]      
Deferred Tax Assets, Valuation Allowance, Total 6,100    
Domestic Tax Authority [Member]      
Tax Credit Carryforward, Amount 4,900    
Domestic Tax Authority [Member] | Operating Loss Carryforwards [Member]      
Operating Loss Carryforwards, Total 52,700    
State and Local Jurisdiction [Member]      
Tax Credit Carryforward, Amount 5,400    
State and Local Jurisdiction [Member] | Operating Loss Carryforwards [Member]      
Operating Loss Carryforwards, Total 142,700    
Foreign Tax Authority [Member] | Operating Loss Carryforwards [Member]      
Operating Loss Carryforwards, Total $ 3,200