Income Taxes - Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Jan. 31, 2020 |
Jan. 31, 2019 |
Jan. 31, 2018 |
Jan. 31, 2017 |
|---|---|---|---|---|
| Deferred tax assets | ||||
| Net operating loss carryforwards | $ 166,083 | $ 95,619 | ||
| Research credit carryforwards | 15,355 | 11,102 | ||
| Intangible assets | 78 | 307 | ||
| Stock-based compensation | 8,716 | 498 | ||
| Deferred revenue | 21,012 | 12,245 | ||
| Accrued expenses | 2,555 | 1,712 | ||
| Other | 950 | 1,009 | ||
| Gross deferred assets | 214,749 | 122,492 | ||
| Less: Valuation allowance | (207,596) | (120,391) | $ (84,400) | $ (72,200) |
| Total deferred tax assets | 7,153 | 2,101 | ||
| Deferred tax liabilities | ||||
| Property and equipment, net | (2,534) | (1,890) | ||
| Capitalized Commissions | (4,456) | 0 | ||
| Intangible assets | 0 | (310) | ||
| Deferred revenue | 0 | 0 | ||
| Deferred revenue | (6,990) | (2,200) | ||
| Net deferred tax assets (liabilities) | $ 163 | |||
| Net deferred tax assets (liabilities) | $ (99) |
| X | ||||||||||
- Definition Deferred Tax Assets, Deferred Revenue No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Deferred Revenue 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 intangible assets including goodwill. No definition available.
|
| 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 | ||||||||||
- References No definition available.
|
| 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 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://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences from provisions, reserves, allowances, and accruals, classified as other. 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 | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from capitalized costs classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from intangible assets other than goodwill. 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
|