Income Taxes - Significant Components of Deferred Tax Assets and Tax Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Deferred tax assets: | ||
| Net operating loss carry-forwards | $ 268,173 | $ 114,932 |
| Stock-based compensation | 43,978 | 33,138 |
| Capitalized licenses, R&D and start-up costs | 19,891 | 22,143 |
| Tax credit carry-forwards | 77,222 | 53,617 |
| Accrued expenses | 7,377 | 16,443 |
| Deferred revenue | 53,475 | 71,209 |
| Operating lease liabilities | 26,571 | |
| Lease financing obligation | 10,570 | |
| Lease financing obligation | 9,149 | |
| Other | 11 | 2,870 |
| Total gross deferred tax assets | 507,268 | 323,501 |
| Less: valuation allowance | (470,753) | (308,273) |
| Total deferred tax assets, net of valuation allowance | 36,515 | 15,228 |
| Deferred tax liabilities: | ||
| Financing right-of-use assets | (2,612) | |
| Operating right-of-use assets | (24,944) | |
| Fixed assets | (8,959) | (15,228) |
| Total deferred tax liabilities | (36,515) | (15,228) |
| Net deferred tax assets | $ 0 | $ 0 |
| X | ||||||||||
- Definition Deferred Tax Assets, Capital Lease Obligation No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Capitalized Licenses, Research And Development, And Start-Up Costs No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Financing Leases No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Operating Leases No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Finance Lease Right Of Use Asset No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Operating Lease Right Of Use Asset 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 deferred income. 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://fasb.org/us-gaap/role/ref/legacyRef
|
| 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://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and 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 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://fasb.org/us-gaap/role/ref/legacyRef
|
| 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://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 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://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|