v3.26.1
Stockholders' Equity - Schedule of Total Stock-Based Compensation Costs Incurred and Associated Tax Benefit Recognized (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Stock-based compensation costs $ 104,348 $ 91,661 $ 80,184
Tax benefit (23,127) (21,833) (15,053)
Stock-based compensation costs, net of tax benefit 81,221 69,828 65,131
Income Statement Location [Axis]: us-gaap:CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Stock-based compensation costs 10,121 8,945 7,563
Income Statement Location [Axis]: us-gaap:ResearchAndDevelopmentExpense      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Stock-based compensation costs 22,042 18,128 14,472
Income Statement Location [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Stock-based compensation costs $ 72,185 $ 64,588 $ 58,149