Net Income (Loss) Per Share - Antidilutive Shares (Details) - Stock Option - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (in shares) | 6,244 | 4,110 | 6,268 | 4,165 |
| Restricted Stock Units (RSUs) | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (in shares) | 6,483 | 4,181 | 12,145 | 8,338 |
| Price-Vested Units (PVUs) | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (in shares) | 6,244 | 4,100 | 6,268 | 4,158 |
| Phantom Share Units (PSUs) | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities (in shares) | 0 | 10 | 0 | 7 |