Quarterly report pursuant to Section 13 or 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Correction Effect on Statement of Operations (Details)

v3.22.2.2
Basis of Presentation and Summary of Significant Accounting Policies - Correction Effect on Statement of Operations (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2022
Jul. 31, 2021
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Research and development $ 19,989 $ 15,038 $ 37,323 $ 28,126
Sales and marketing 86,942 69,402 173,880 129,874
Total operating expenses 130,146 109,763 256,531 199,531
Operating loss (21,675) (28,409) (44,803) (38,906)
Loss before provision for income taxes $ (21,759) (29,845) $ (44,592) (42,533)
Net loss   $ (32,351)   $ (46,842)
Net loss per share attributable to Class A and Class B common stockholders, basic (in dollars per share) $ (0.09) $ (0.19) $ (0.19) $ (0.35)
Net loss per share attributable to Class A and Class B common stockholders, diluted (in dollars per share) $ (0.09) $ (0.19) $ (0.19) $ (0.35)
As reported        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Research and development   $ 15,087   $ 28,215
Sales and marketing   70,249   130,887
Total operating expenses   110,659   200,633
Operating loss   (29,305)   (40,008)
Loss before provision for income taxes   (30,741)   (43,635)
Net loss   $ (33,247)   $ (47,944)
Net loss per share attributable to Class A and Class B common stockholders, basic (in dollars per share)   $ (0.20)   $ (0.36)
Net loss per share attributable to Class A and Class B common stockholders, diluted (in dollars per share)   $ (0.20)   $ (0.36)
Corrections | Accounting Standards Update 2014-09        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Research and development   $ (49)   $ (89)
Sales and marketing   (847)   (1,013)
Total operating expenses   (896)   (1,102)
Operating loss   896   1,102
Loss before provision for income taxes   896   1,102
Net loss   $ 896   $ 1,102
Net loss per share attributable to Class A and Class B common stockholders, basic (in dollars per share)   $ 0   $ 0
Net loss per share attributable to Class A and Class B common stockholders, diluted (in dollars per share)   $ 0   $ 0