INCOME TAXES - Provision For (Benefit From) Income Taxes (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|
| Income Tax Disclosure [Abstract] | |||
| Federal tax benefit at statutory rate | $ (773,731) | $ 2,905 | $ (22,593) |
| State tax benefit, net of federal benefit | (131,494) | (862) | (5,491) |
| Foreign rate differential | (448) | (2) | (57) |
| Share-based compensation | 17,338 | (2,654) | (1,221) |
| Tender offer compensation | 1,640 | 3,607 | 4,229 |
| Research and development credits | (48,111) | (10,489) | (2,104) |
| Non-deductible regulatory settlements | 10,920 | 21,000 | 0 |
| Non-deductible change in convertible notes and warrant | 429,588 | 0 | 0 |
| Permanent differences | 322 | 526 | 0 |
| Other | 367 | 52 | 905 |
| Change in valuation allowance | 495,609 | (7,702) | 25,314 |
| Provision for (benefit from) income taxes | $ 2,000 | $ 6,381 | $ (1,018) |
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Nondeductible Expense, Non-Deductible Change In Convertible Notes And Warrant, Amount No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Nondeductible Expense, Non-Deductible Regulatory Settlements, Amount No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Reconciliation, Permanent Differences, Amount No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Reconciliation, Tender Offer Compensation No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax expense (benefit). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of reported income tax expense (benefit) in excess of (less than) expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to nondeductible expense for award under share-based payment arrangement. Includes, but is not limited to, expense determined to be nondeductible upon grant or after for award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to research tax credit. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|