Income Taxes - Summary of Components of Deferred Tax Assets (Liabilities) (Details) - USD ($) $ in Thousands |
Dec. 31, 2024 |
Dec. 31, 2023 |
|---|---|---|
| Deferred tax assets: | ||
| Net operating loss carryforwards | $ 1,100,214 | $ 1,042,874 |
| Intangible assets | 13,770 | 82,813 |
| Accrual and other temporary differences | 78,535 | 59,656 |
| Operating lease | 22,239 | 24,784 |
| Stock-based compensation | 60,754 | 51,065 |
| Capitalized research and development costs | 199,678 | 128,719 |
| Fixed assets | 3,710 | 2,451 |
| Gross deferred tax assets | 1,478,900 | 1,392,362 |
| Valuation allowance | (1,453,715) | (1,358,934) |
| Net deferred tax assets | 25,185 | 33,428 |
| Deferred tax liabilities: | ||
| Capitalized software costs | 0 | (4,535) |
| Fixed assets | (108) | (162) |
| Intangible assets | (6,532) | 0 |
| Operating lease | (21,472) | (25,528) |
| Other | (4,041) | (7,798) |
| Gross deferred tax liabilities | (32,153) | (38,023) |
| Total net deferred tax liabilities | $ (6,968) | $ (4,595) |
| X | ||||||||||
- Definition Deferred Tax Assets, Research Expenditure No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from operating leases. No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from operating leasing arrangements. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill. 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 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 | ||||||||||
- 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 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 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 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 intangible assets other than goodwill. 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 | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from long-lived assets other than property, plant, and equipment. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|