INCOME TAXES (Tables)
|
12 Months Ended |
Dec. 31, 2021 |
| Income Tax Disclosure [Abstract] |
|
| Schedule of Income before Income Tax, Domestic and Foreign |
The components of income (loss) before income taxes were as follows: | | | | | | | | | | | | | | | | | | | Year ended December 31, | | (in thousands) | 2019 | | 2020 | | 2021 | | Domestic | $ | (104,690) | | | $ | 14,773 | | | $ | (3,685,936) | | | Foreign | (2,897) | | | (943) | | | 1,504 | | | Income (loss) before income taxes | $ | (107,587) | | | $ | 13,830 | | | $ | (3,684,432) | |
|
| Schedule of Income Tax Provision (Benefit) |
The components of the provision for (benefit from) income taxes were as follows: | | | | | | | | | | | | | | | | | | | Year ended December 31, | | (in thousands) | 2019 | | 2020 | | 2021 | | Current: | | | | | | | Federal | $ | (58) | | | $ | 2,780 | | | $ | (249) | | | State | (295) | | | 3,801 | | | 4,990 | | | Foreign | — | | | — | | | — | | | Total current tax expense (benefit) | (353) | | | 6,581 | | | 4,741 | | | Deferred: | | | | | | | Federal | — | | | — | | | (1,084) | | | State | — | | | — | | | (1,525) | | | Foreign | (665) | | | (200) | | | (132) | | | Total deferred tax expense (benefit) | (665) | | | (200) | | | (2,741) | | | Total provision for (benefit from) income taxes | $ | (1,018) | | | $ | 6,381 | | | $ | 2,000 | |
|
| Schedule of Effective Income Tax Rate Reconciliation |
The reconciliation of federal statutory income tax to our provision for (benefit from) income taxes was as follows: | | | | | | | | | | | | | | | | | | | Year ended December 31, | | (in thousands) | 2019 | | 2020 | | 2021 | | Federal tax benefit at statutory rate | $ | (22,593) | | | $ | 2,905 | | | $ | (773,731) | | | State tax benefit, net of federal benefit | (5,491) | | | (862) | | | (131,494) | | | Foreign rate differential | (57) | | | (2) | | | (448) | | | Share-based compensation | (1,221) | | | (2,654) | | | 17,338 | | | Tender offer compensation | 4,229 | | | 3,607 | | | 1,640 | | | Research and development credits | (2,104) | | | (10,489) | | | (48,111) | | | Non-deductible regulatory settlements | — | | | 21,000 | | | 10,920 | | | Non-deductible change in convertible notes and warrant | — | | | — | | | 429,588 | | | Permanent differences | — | | | 526 | | | 322 | | | Other | 905 | | | 52 | | | 367 | | | Change in valuation allowance | 25,314 | | | (7,702) | | | 495,609 | | | Total provision for (benefit from) income taxes | $ | (1,018) | | | $ | 6,381 | | | $ | 2,000 | |
|
| Schedule of Deferred Tax Assets and Liabilities |
Significant components of our deferred tax assets and liabilities consist of the following: | | | | | | | | | | | | | Year ended December 31, | | (in thousands) | 2020 | | 2021 | | Deferred tax assets: | | | | | Accruals and other liabilities | 14,849 | | | $ | 24,319 | | | Lease liabilities | 13,794 | | | 39,909 | | | Tax credit carryforwards | 9,058 | | | 81,457 | | | Net operating loss carryforwards | 3,141 | | | 251,202 | | | Share-based compensation | 3,123 | | | 134,723 | | | Other | 3,386 | | | 21,411 | | | Total deferred tax assets | 47,351 | | | 553,021 | | | Deferred tax liabilities: | | | | | Right of use assets | (12,551) | | | (34,182) | | | Depreciation and amortization | (6,965) | | | (22,977) | | | Total deferred tax liabilities | (19,516) | | | (57,159) | | | Valuation allowance | (26,909) | | | (494,902) | | | Net deferred tax assets | $ | 926 | | | $ | 960 | |
|
| Summary of Valuation Allowance |
The following is a reconciliation of the beginning and ending amount of the deferred tax asset valuation allowance: | | | | | | | | | | | | | | | | | | | Year ended December 31, | | (in thousands) | 2019 | | 2020 | | 2021 | | Balance at beginning of period | $ | 9,631 | | | $ | 35,207 | | | $ | 26,909 | | | Charged/(credited) to net income | 25,576 | | | (8,298) | | | 470,691 | | | Charges utilized/(write-offs) | — | | | — | | | (2,698) | | | Balance at end of period | $ | 35,207 | | | $ | 26,909 | | | $ | 494,902 | |
|
| Schedule of Unrecognized Tax Benefits Roll Forward |
The reconciliation of the beginning and ending amount of unrecognized tax benefits is as follows (in thousands): | | | | | | | | | | | | | Year ended December 31, | | 2020 | | 2021 | | Unrecognized benefit - beginning of period | $ | 2,177 | | | $ | 7,420 | | | Gross increases - current year tax positions | 4,395 | | | 37,879 | | | Gross increases - prior year tax positions | 848 | | 909 | | Unrecognized benefit - end of period | $ | 7,420 | | | $ | 46,208 | |
|