Income Taxes - Deferred Income Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2020 |
Dec. 31, 2019 |
|---|---|---|
| Deferred tax assets | ||
| Tax loss carryforwards | $ 101,209 | $ 59,407 |
| Temporary differences on capital and intangible assets | 50,297 | 44,445 |
| Stock-based compensation expense | 16,653 | 11,324 |
| Accruals and reserves | 21,926 | 10,397 |
| Share issuance costs | 14,423 | 6,590 |
| Temporary differences related to lease assets and liabilities | 9,292 | 4,526 |
| Investment tax credits | 13,448 | 694 |
| Valuation allowance | (123,345) | (89,363) |
| Total deferred tax assets | 103,903 | 48,020 |
| Deferred tax liabilities | ||
| Temporary differences on intangible assets | (32,521) | (35,967) |
| Temporary differences on investments | (17,917) | 0 |
| Other deferred tax liabilities | (788) | (1,374) |
| Total deferred tax liabilities | (51,226) | (37,341) |
| Net deferred tax assets | $ 52,677 | $ 10,679 |
| 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://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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://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 | ||||||||||
- 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 from investments (excludes investments in subsidiaries and equity method investments). No definition available.
|
| 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
|