Other Income, Net - Schedule of Other Income (Expense), Net (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Other Income, Nonoperating [Abstract] | |||
| Interest income | $ 91,413 | $ 90,903 | $ 122,298 |
| Gain on debt extinguishment, net of change on mark to market derivatives | 0 | 40,550 | 45,272 |
| Interest expense | (19,435) | (13,824) | (12,944) |
| Amortization of debt discount and issuance costs | (6,434) | (4,739) | (6,238) |
| Other | (2,228) | (1,878) | (543) |
| Total other income, net | $ 63,316 | $ 111,012 | $ 147,845 |
| X | ||||||||||
- Definition Gain (Loss) on Extinguishment of Debt, Net of Mark To Market Derivatives No definition available.
|
| X | ||||||||||
- Definition Investment Income (Expense) No definition available.
|
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of interest income (expense) classified as operating. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of income (expense) related to nonoperating activities, classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of other expense (income) that is infrequent in occurrence or unusual in nature. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|