v3.24.2.u1
Stock-Based Compensation - Additional Information (Details) - USD ($)
shares in Millions, $ in Millions
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Unrecognized compensation cost related to non-vested stock options $ 17.2    
Unrecognized compensation cost of restricted stock awards $ 55.9    
Amortization period of unrecognized compensation cost 1 year 9 months 18 days    
Amortization period of unrecognized compensation cost for restricted stock awards 1 year 9 months 18 days    
Repurchase of common stock shares (in shares) 2.5 0.2 0.1
Opportunistic Buy-Backs      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Repurchase of common stock shares (in shares) 2.3 0.0  
Segment, Continuing Operations      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense $ 70.6 $ 73.1 $ 68.4
Related tax benefits $ 13.7 $ 13.1 $ 15.7
Stock Options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting period of cost recognition 12 months    
Stock Options | Graded Vesting      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock options vesting period 4 years    
Stock options expiration period 10 years    
Stock Options | Cliff Vesting      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock options vesting period 4 years    
Stock option term 10 years    
Stock Options | Cliff Vesting - Year One      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock option award vesting percentage 25.00%    
Stock Options | Cliff Vesting - Year Three      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock option award vesting percentage 25.00%    
Stock Options | Cliff Vesting - Year Two      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock option award vesting percentage 25.00%    
Stock Options | Cliff Vesting - Year Four      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock option award vesting percentage 25.00%    
Time-based RSUs      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock options vesting period 2 years 6 months    
Stock conversion ratio 1    
Performance-based RSUs      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock options vesting period 2 years 6 months    
Stock conversion ratio 1