Income Taxes - Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Jan. 31, 2022 |
Jan. 31, 2021 |
Jan. 31, 2020 |
|---|---|---|---|
| Deferred tax assets | |||
| Net operating loss carryforwards | $ 428,238 | $ 289,889 | |
| Research and other credit carryforwards | 56,539 | 22,778 | |
| Intangible assets | 61,008 | 0 | |
| Stock-based compensation | 33,202 | 20,154 | |
| Deferred revenue | 34,425 | 21,595 | |
| Accrued expenses | 12,550 | 7,791 | |
| Operating lease liabilities | 10,144 | 10,718 | |
| Capitalized research and development | 154,625 | 63,158 | |
| Other, net | 4,514 | 0 | |
| Gross deferred assets | 795,245 | 436,083 | |
| Less: Valuation allowance | (770,861) | (413,828) | $ (207,600) |
| Total deferred tax assets | 24,384 | 22,255 | |
| Deferred tax liabilities | |||
| Property and equipment, net | (8,769) | (4,446) | |
| Capitalized Commissions | (1,632) | (2,960) | |
| Intangible assets | 0 | (3,697) | |
| Operating right-of-use assets | (9,256) | (9,610) | |
| Other, net | 0 | (302) | |
| Total deferred tax liabilities | (19,657) | (21,015) | |
| Net deferred tax assets (liabilities) | $ 4,727 | $ 1,240 |
| 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
|