Net Income Per Common Share - Schedule of Excluded from the Computation of Diluted Net Income Per Share of Common Shares (Details) - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2025 |
Mar. 31, 2024 |
Mar. 31, 2025 |
Mar. 31, 2024 |
|
| Stock-based awards | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Anti-dilutive outstanding equity awards (in shares) | 16,245 | 88 | 9,278 | 3,105 |
| Convertible notes | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Anti-dilutive outstanding equity awards (in shares) | 32,138 | 0 | 20,673 | 0 |