Income Taxes - Deferred Income Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Deferred tax assets | ||
| Tax loss carryforwards | $ 59,407 | $ 19,540 |
| Temporary differences on capital and intangible assets | 44,445 | 2,366 |
| Stock-based compensation expense | 11,324 | 6,427 |
| Accruals and reserves | 10,397 | 8,384 |
| Share issuance costs | 6,590 | 8,011 |
| Temporary differences related to lease assets and liabilities | 4,526 | 0 |
| Investment tax credits | 694 | 5,833 |
| Valuation allowance | (89,363) | (46,343) |
| Total deferred tax assets | 48,020 | 4,218 |
| Deferred tax liabilities | ||
| Temporary differences on intangible assets | (35,967) | (5,350) |
| Other deferred tax liabilities | (1,374) | 0 |
| Total deferred tax liabilities | (37,341) | (5,350) |
| Net deferred tax assets (liabilities) | $ 10,679 | |
| Net deferred tax assets (liabilities) | $ (1,132) |
| X | ||||||||||
- Definition Deferred Tax Assets, Lease Assets and Liabilities No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Property, Plant and Equipment and Intangible Assets No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Stock Issuance Costs No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Tax Credit Carryforwards, Investment 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, 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 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 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://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from capitalized software. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|