Stock-Based Compensation - Additional Information (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Mar. 31, 2025 |
Mar. 31, 2024 |
Mar. 31, 2025 |
Mar. 31, 2024 |
|
Share-Based Payment Arrangement [Abstract] | ||||
Stock-based compensation expense | $ 20.7 | $ 20.2 | $ 57.4 | $ 57.1 |
Related tax benefits | 3.5 | $ 3.8 | 9.9 | $ 10.8 |
Unrecognized compensation cost related to non-vested stock options | 24.4 | 24.4 | ||
Unrecognized compensation cost related to restricted stock unit awards | $ 78.3 | $ 78.3 | ||
Amortization period of unrecognized compensation cost for non-vested stock options | 1 year 9 months 18 days | |||
Amortization period of unrecognized compensation cost for restricted stock awards | 2 years 1 month 6 days |