Net Income (Loss) Per Share - Schedule of Antidilutive Securities Excluded from Computation of Income (Loss) Per Share (Details) - shares shares in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Stock Option | Restricted Stock Units (RSUs) | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities (in shares) | 12,817 | 3,799 | 12,204 |
| Stock Option | Price-Vested Units (PVUs) | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities (in shares) | 8,463 | 7,437 | 6,243 |
| Warrant liability | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities (in shares) | 21,843 | 8,932 | 0 |