Restructuring - Schedule of Restructuring Charges (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Cash restructuring charges | ||||
| Severance and other personnel costs | $ 0.6 | $ 0.3 | $ 0.1 | $ 6.4 |
| Exit and disposal costs and professional fees | 2.7 | 9.3 | 6.1 | 13.8 |
| Total cash restructuring charges | 3.3 | 9.6 | 6.2 | 20.2 |
| Non-cash restructuring charges | ||||
| Asset write-downs and write-offs | 15.5 | 1.3 | 20.6 | 24.1 |
| Stock-based compensation expense | 0.0 | 0.0 | 0.0 | 7.2 |
| Write-offs of inventory related to restructuring activities | 0.0 | 0.5 | 0.0 | 1.0 |
| Loss on sale of subsidiary | 0.0 | 3.8 | 0.0 | 3.8 |
| Total non-cash restructuring charges | 15.5 | 5.6 | 20.6 | 36.1 |
| Total | $ 18.8 | $ 15.2 | $ 26.9 | $ 56.4 |