Income Taxes - Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|---|---|---|---|
| Deferred tax assets: | |||
| Property and equipment | $ 5,957 | $ 11,028 | |
| Loss carryforwards | 645,268 | 615,687 | |
| Credit carryforwards | 460,856 | 401,629 | |
| Operating lease liabilities | 55,358 | 56,962 | |
| Basis differences in investments | 1,900,521 | 2,040,203 | |
| Provisions, accruals, and prepayments | 69,336 | 66,735 | |
| Deferred revenue | 242,151 | 317,761 | |
| Capitalized research and development | 89,790 | 113,489 | |
| Other | 1,197 | 571 | |
| Total deferred tax assets | 3,470,434 | 3,624,065 | |
| Less valuation allowance | (3,383,071) | (3,549,451) | $ (3,300,000) |
| Total deferred tax assets, net of valuation allowance | 87,363 | 74,614 | |
| Deferred tax liabilities: | |||
| Unrealized investment gains | 3,233 | 4,163 | |
| Operating right of use assets | 26,689 | 46,348 | |
| Stock-based compensation | 1,355 | 7,205 | |
| Intangible assets | 79,851 | 35,495 | |
| Other | 0 | 1,522 | |
| Total deferred tax liabilities | 111,128 | 94,733 | |
| Net deferred tax liabilities | $ (23,765) | $ (20,119) |
| X | ||||||||||
- Definition Deferred Tax Asset, Operating Lease Liabilities No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Capitalized Research and Development No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Intangible Assets, Net No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Stock Based Compensation No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from deferred income. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from investments (excludes investments in subsidiaries and equity method investments). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from property, plant, and equipment. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before allocation of a valuation allowances, of deferred tax assets attributable to deductible tax credit carryforwards including, but not limited to, research, foreign, general business, alternative minimum tax, and other deductible tax credit carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from reserves and accruals. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from leasing arrangements. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from unrealized gains on trading securities. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|