Income Taxes - Significant Components of Deferred Income Tax Assets (Details) - USD ($) $ in Thousands |
Jan. 31, 2021 |
Jan. 31, 2020 |
|---|---|---|
| Deferred Tax Assets, Net [Abstract] | ||
| Net operating loss carryforwards | $ 341,487 | $ 37,507 |
| Research and development credit carryforwards | 12,191 | 5,701 |
| Stock-based compensation | 37,255 | 4,145 |
| Accruals and reserves | 29,195 | 11,586 |
| Deferred revenue | 6,565 | 5,234 |
| Operating lease liabilities | 27,842 | 17,716 |
| Total deferred tax assets | 454,535 | 81,889 |
| Valuation allowance | (335,051) | (36,353) |
| Total deferred tax assets net of valuation allowance | 119,484 | 45,536 |
| Deferred Tax Liabilities, Net [Abstract] | ||
| Property and equipment and intangible assets | (17,229) | (6,744) |
| Deferred contract acquisition costs | (76,593) | (21,156) |
| Operating right-of-use assets | (25,550) | (16,453) |
| Total deferred tax liabilities | (119,372) | (44,353) |
| Net deferred tax assets | $ 112 | $ 1,183 |
| 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 and carryforwards. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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 | ||||||||||
- References No definition available.
|
| 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 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 property, plant, and equipment. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Deferred Tax Asset, Contract With Customer Liability No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Lease Liabilities No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Contract With Customer Liabilities No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Right Of Use Assets No definition available.
|