INCOME TAXES - Components of Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Deferred tax assets: | ||
| Accruals and other liabilities | $ 24,319 | $ 14,849 |
| Lease liabilities | 39,909 | 13,794 |
| Tax credit carryforwards | 81,457 | 9,058 |
| Net operating loss carryforwards | 251,202 | 3,141 |
| Share-based compensation | 134,723 | 3,123 |
| Other | 21,411 | 3,386 |
| Total deferred tax assets | 553,021 | 47,351 |
| Deferred tax liabilities: | ||
| Right of use assets | (34,182) | (12,551) |
| Depreciation and amortization | (22,977) | (6,965) |
| Total deferred tax liabilities | (57,159) | (19,516) |
| Valuation allowance | (494,902) | (26,909) |
| Net deferred tax assets | $ 960 | $ 926 |
| X | ||||||||||
- Definition Deferred Tax Assets, Operating Lease, Liability No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Depreciation And Amortization 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 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://fasb.org/us-gaap/role/ref/legacyRef
|
| 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://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 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 accrued liabilities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| 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://fasb.org/us-gaap/role/ref/legacyRef
|