v3.26.1
Stock-Based Compensation - Additional Information (Details)
$ in Thousands
12 Months Ended
Jun. 30, 2026
USD ($)
individual
shares
Jun. 30, 2025
USD ($)
shares
Jun. 30, 2024
USD ($)
Jul. 01, 2026
shares
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Number of options granted (in shares) | shares 0 0    
Total intrinsic value of options exercised $ 30,600 $ 179,900 $ 86,700  
Proceeds from stock option exercises 10,366 40,845 30,726  
Stock-based compensation, income tax benefit 3,100 $ 2,500 $ 1,100  
Unrecognized compensation cost related to unvested stock-based awards granted $ 177,000      
Unrecognized compensation cost related to unvested stock-based awards granted, weighted-average period for recognition 2 years 2 months 12 days      
Issuance of common stock under employee stock purchase plan (in shares) | shares 154,345 112,489    
Stock Awards        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Award vesting period 4 years      
Stock Options        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Award vesting period 4 years      
Award expiration period 10 years      
Unvested PSUs and RSUs        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Number of individuals affected by the modification | individual 15      
Number of awards modified (in shares) | shares 40,951      
Stock-based compensation expense recognized as a result of the modification $ 1,600      
ESPP        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Unrecognized compensation cost related to unvested stock-based awards granted, weighted-average period for recognition 4 months 24 days      
Purchase price of common stock lower of fair market value (as a percent) 85.00%      
Terms of award The ESPP provides an offering period that begins on June 1 and December 1 of each year and each offering period      
Purchase period 6 months      
Unrecognized compensation costs $ 700      
2021 Omnibus Incentive Plan | Subsequent Event        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Number of shares added | shares       4,230,336
ESPP | Subsequent Event        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Number of shares added | shares       846,067