Stock-Based Compensation - Additional Information (Details) - USD ($) $ in Millions |
3 Months Ended | |
|---|---|---|
Sep. 30, 2024 |
Sep. 30, 2023 |
|
| Share-Based Payment Arrangement [Abstract] | ||
| Stock-based compensation expense | $ 14.9 | $ 16.4 |
| Related tax benefits | 2.5 | $ 2.9 |
| Unrecognized compensation cost related to non-vested stock options | 14.0 | |
| Unrecognized compensation cost related to restricted stock unit awards | $ 46.6 | |
| Amortization period of unrecognized compensation cost for non-vested stock options | 1 year 8 months 12 days | |
| Amortization period of unrecognized compensation cost for restricted stock awards | 1 year 7 months 6 days | |
| X | ||||||||||
- Definition Employee Service Share Based Compensation Restricted Stock Awards Compensation Cost Not Yet Recognized Period For Recognition No definition available.
|
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of tax benefit for recognition of expense of award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|