v3.26.1
Benefit Plans - Compensation Expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Benefit Plans      
Total stock-based compensation expense $ 138,657 $ 142,820 $ 146,032
Stock-based compensation expense capitalized in internal-use software costs 11,817 12,996 14,376
Unrecognized Stock-Based Compensation Costs Not Yet Recognized, Net of Estimated Forfeitures Related to Unvested RSUs, PSUs and MSUs      
Total unrecognized compensation cost, net of estimated forfeitures $ 99,963    
Weighted average period to recognize unrecognized compensation cost 1 year 7 months 6 days    
Excess income tax benefits (shortfalls)      
Excess income tax benefits (shortfalls) for stock-based compensation arrangements recognized through income tax expense (benefit) $ (69,333) (2,598) 9,374
Income Statement Location [Axis]: us-gaap:CostOfGoodsAndServicesSold      
Benefit Plans      
Total stock-based compensation expense 15,907 17,945 18,927
Income Statement Location [Axis]: us-gaap:GeneralAndAdministrativeExpense      
Benefit Plans      
Total stock-based compensation expense 60,539 53,784 55,497
Income Statement Location [Axis]: us-gaap:ResearchAndDevelopmentExpense      
Benefit Plans      
Total stock-based compensation expense 30,577 35,786 36,072
Income Statement Location [Axis]: us-gaap:SellingAndMarketingExpense      
Benefit Plans      
Total stock-based compensation expense $ 31,634 $ 35,305 $ 35,536