v3.26.1
Income Taxes - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Income Tax Contingency [Line Items]      
Estimated associated withholding tax related to previously taxed earnings $ 37,000    
Cash paid for income taxes $ 208,129 $ 166,849 $ 97,295
Effective income tax rate, reductions 0.90% 11.60% 5.60%
Interest and penalties recognized within income tax expense $ (4,100) $ 2,000 $ 2,300
Interest and penalties accrued 5,000 9,000 7,000
Gross unrecognized tax benefits that would impact effective tax rate 8,000 $ 20,000 $ 19,000
Unrecognized tax benefits expected decrease during the next 12 months $ 3,000    
Foreign Taxing Jurisdictions      
Income Tax Contingency [Line Items]      
Impact of income tax holiday on diluted earnings per share (in usd per share) $ 0.04 $ 0.06 $ 0.05