Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Jun. 30, 2025 |
|---|---|---|
| Income Tax Disclosure [Abstract] | ||
| Net operating loss carryforwards | $ 1,022,126 | $ 1,034,551 |
| Allowance for credit losses | 161,002 | 116,570 |
| Stock-based compensation | 14,694 | 16,789 |
| Stock warrants | 194,424 | 142,143 |
| Operating lease liabilities | 7,658 | 8,386 |
| Capitalized R&E including internally developed software | 0 | 62,325 |
| Tax credit carryforwards | 119,074 | 108,026 |
| Other | 11,624 | 11,685 |
| Total deferred tax assets | 1,530,602 | 1,500,475 |
| Right-of-use lease assets | (6,030) | (5,021) |
| Capitalized R&E including internally developed software | (40,895) | 0 |
| Other | (1,522) | (3,686) |
| Total deferred tax liabilities | (48,447) | (8,707) |
| Valuation allowance | (15,119) | (1,479,926) |
| Deferred tax assets (liabilities), net of valuation allowance | $ 1,467,036 | $ 11,842 |
| X | ||||||||||
- Definition Deferred Tax Asset, Stock Warrants No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Deferred Expense, Capitalized Software No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Deferred Lease Liability No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liability, Capitalized R&E Including Software 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 and carryforwards. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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 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 share-based compensation. 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 difference from allowance for credit loss on accounts receivable. 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 of deferred tax liability attributable to taxable temporary differences from leasing arrangements. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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 | ||||||||||
- References No definition available.
|