v3.26.1
Stock-Based Compensation (Additional Information) (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2022
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Capitalized stock based compensation $ 0.0 $ 0.0    
Stock Incentive Plans        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock available for future issuance 1,140,745      
Stock Options        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Vesting Period (in years)       4 years
Term of options (in years)       10 years
Fair value of stock options $ 0.6 1.3 $ 1.9  
Unrecognized compensation costs related to non-vested awards 0.0      
Total intrinsic value of options exercised 0.4 10.6 10.0  
Tax benefit from options exercised $ 0.1 $ 0.3 $ 2.5  
Restricted Stock Units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Vesting Period (in years) 3 years      
Unrecognized compensation costs related to non-vested awards $ 12.7      
Weighted-average grant date fair value per share $ 97.73 $ 89.65 $ 44.24  
Fair value of units vested $ 16.5 $ 15.9 $ 13.0  
Unrecognized compensation costs related to non-vested awards expected to be recognized, years 1 year 8 months 12 days      
Restricted Stock Units | Director        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Vesting Period (in years) 1 year      
Performance Based Shares        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Term of options (in years) 3 years      
Unrecognized compensation costs related to non-vested awards $ 21.8      
Weighted-average grant date fair value per share $ 96.86 $ 89.74 $ 50.02  
Fair value of units vested $ 20.4 $ 2.8 $ 4.1  
Unrecognized compensation costs related to non-vested awards expected to be recognized, years 1 year