Annual report pursuant to Section 13 and 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Correction Effect On Balance Sheet (Details)

v3.22.1
Basis of Presentation and Summary of Significant Accounting Policies - Correction Effect On Balance Sheet (Details) - USD ($)
$ in Thousands
Jan. 31, 2022
Jan. 31, 2021
Error Corrections and Prior Period Adjustments Restatement [Line Items]    
Prepaid expenses and other current assets $ 109,167 $ 101,096
Total current assets 805,257 498,063
Other non-current assets 49,378 42,512
Total assets 920,046 597,013
Accumulated deficit (441,630) (330,160)
Total stockholders' deficit 515,849 193,853
Total liabilities and stockholders' deficit $ 920,046 597,013
As reported    
Error Corrections and Prior Period Adjustments Restatement [Line Items]    
Prepaid expenses and other current assets   95,819
Total current assets   492,786
Other non-current assets   36,669
Total assets   585,893
Accumulated deficit   (341,280)
Total stockholders' deficit   182,733
Total liabilities and stockholders' deficit   585,893
Corrections | Accounting Standards Update 2014-09    
Error Corrections and Prior Period Adjustments Restatement [Line Items]    
Prepaid expenses and other current assets   5,277
Total current assets   5,277
Other non-current assets   5,843
Total assets   11,120
Accumulated deficit   11,120
Total stockholders' deficit   11,120
Total liabilities and stockholders' deficit   $ 11,120