CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Statement of Comprehensive Income [Abstract] | |||
| Net loss | $ (53,828) | $ (256,687) | $ (300,519) |
| Other comprehensive loss, net of reclassification adjustments: | |||
| Foreign currency translation adjustment | (11,576) | 3,639 | (2,270) |
| Net change in unrealized gain (loss) on marketable and privately held debt securities | (345) | 1,032 | 314 |
| Net loss on cash flow hedging derivative instruments | (18,339) | (16,745) | (6,746) |
| Other comprehensive loss, before tax | (30,260) | (12,074) | (8,702) |
| Income tax effect | 0 | 0 | 0 |
| Other comprehensive loss, net of tax | (30,260) | (12,074) | (8,702) |
| Total comprehensive loss, net of tax | $ (84,088) | $ (268,761) | $ (309,221) |
| X | ||||||||||
- Definition Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount before tax, after reclassification adjustments of gain (loss) on foreign currency translation adjustments, on foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature, attributable to parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount before tax of other comprehensive income (loss) attributable to parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before tax and after reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after tax of other comprehensive income (loss) attributable to parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss) attributable to parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|