Debt - Components of Interest Expense (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Term Loan Facility | |||
| Interest Expense, Debt [Abstract] | |||
| Amortization of debt issuance costs | $ 2.3 | $ 2.1 | $ 3.3 |
| Amortization of debt discount | 5.0 | 4.7 | 5.7 |
| Total non-cash interest expense related to the 2029 Notes | 7.4 | 6.8 | 9.0 |
| Cash interest expense | 94.2 | 105.8 | 94.9 |
| Total interest expense related to the Term Loan | 101.6 | 112.6 | 103.8 |
| 5.50% Convertible Senior Notes due 2029 | |||
| Interest Expense, Debt [Abstract] | |||
| Amortization of debt issuance costs | 1.3 | 1.2 | 0.1 |
| Total non-cash interest expense related to the 2029 Notes | 1.3 | 1.2 | 0.1 |
| Cash interest expense | 19.3 | 19.3 | 2.0 |
| Total interest expense related to the 2026 Notes | 20.6 | 20.5 | 2.1 |
| 0.00% Convertible Senior Notes due 2026 | |||
| Interest Expense, Debt [Abstract] | |||
| Amortization of debt issuance costs | 0.5 | 0.9 | 4.3 |
| Total interest expense related to the 2026 Notes | $ 0.5 | $ 0.9 | $ 4.3 |