Income Taxes - Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Jan. 31, 2021 |
Jan. 31, 2020 |
Jan. 31, 2019 |
|---|---|---|---|
| Deferred tax assets | |||
| Net operating loss carryforwards | $ 289,889 | $ 166,083 | |
| Research and other credit carryforwards | 22,778 | 15,355 | |
| Intangible assets | 0 | 78 | |
| Stock-based compensation | 20,154 | 8,716 | |
| Deferred revenue | 21,595 | 21,012 | |
| Accrued expenses | 7,791 | 2,555 | |
| Operating lease liabilities | 10,718 | 0 | |
| Capitalized research and development | 63,158 | 0 | |
| Other, net | 0 | 950 | |
| Gross deferred assets | 436,083 | 214,749 | |
| Less: Valuation allowance | (413,828) | (207,596) | $ (120,400) |
| Total deferred tax assets | 22,255 | 7,153 | |
| Deferred tax liabilities | |||
| Property and equipment, net | (4,446) | (2,534) | |
| Capitalized Commissions | (2,960) | (4,456) | |
| Intangible assets | (3,697) | 0 | |
| Operating right-of-use assets | (9,610) | 0 | |
| Other, net | (302) | 0 | |
| Total deferred tax liabilities | (21,015) | (6,990) | |
| Net deferred tax assets (liabilities) | $ 1,240 | $ 163 |
| X | ||||||||||
- Definition Deferred Tax Assets, Deferred Revenue No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Operating Lease Liabilities No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Deferred Revenue No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Operating Right-of-use Assets 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://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from in-process research and development costs expensed in connection with a business combination. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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 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 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://www.xbrl.org/2003/role/disclosureRef
|
| 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://www.xbrl.org/2009/role/commonPracticeRef
|
| 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
|