Income Taxes - Summary of Significant Components of Deferred Income Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2020 |
Dec. 31, 2019 |
|---|---|---|
| Deferred tax assets: | ||
| Net operating loss carryforwards | $ 379,613 | $ 263,512 |
| Reserves and accruals | 14,131 | 10,425 |
| Research and development credits | 104,110 | 73,442 |
| Lease Obligation | 91,373 | 81,639 |
| Stock-based compensation | 28,318 | 17,494 |
| Total deferred tax assets | 617,545 | 446,512 |
| Deferred tax liabilities: | ||
| Right-of-use asset | (70,755) | (72,243) |
| Depreciation and amortization | (11,707) | (10,916) |
| Total deferred tax liabilities | (82,462) | (83,159) |
| Valuation allowance | (530,887) | (361,233) |
| Net deferred tax assets | $ 4,196 | $ 2,120 |
| X | ||||||||||
- Definition Deferred tax assets lease obligation. No definition available.
|
| X | ||||||||||
- Definition Deferred tax liabilities right-of-use asset. 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 | ||||||||||
- References No definition available.
|
| 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 allowances of deferred tax asset attributable to deductible research 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 reserves and accruals. 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 | ||||||||||
- References No definition available.
|
| 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
|