Quarterly report pursuant to Section 13 or 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Schedule of the Effect of Corrections (Details)

v3.22.2.2
Basis of Presentation and Summary of Significant Accounting Policies - Schedule of the Effect of Corrections (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Oct. 31, 2022
Oct. 31, 2021
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Research and development $ 19,208 $ 16,591 $ 56,531 $ 44,717
Sales and marketing 79,538 74,698 253,418 204,573
Total operating expenses 121,334 113,122 377,865 312,654
Operating loss (4,603) (24,766) (49,406) (63,674)
Loss before provision for income taxes $ (3,510) (25,885) $ (48,102) (68,418)
Net loss   $ (27,708)   $ (74,550)
Net loss per share attributable to Class A and Class B common stockholders, basic (in dollars per share) $ (0.02) $ (0.11) $ (0.21) $ (0.43)
Net loss per share attributable to Class A and Class B common stockholders, diluted (in dollars per share) $ (0.02) $ (0.11) $ (0.21) $ (0.43)
As reported        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Research and development   $ 16,621   $ 44,836
Sales and marketing   76,191   207,079
Total operating expenses   114,645   315,279
Operating loss   (26,289)   (66,299)
Loss before provision for income taxes   (27,408)   (71,043)
Net loss   $ (29,231)   $ (77,175)
Net loss per share attributable to Class A and Class B common stockholders, basic (in dollars per share)   $ (0.11)   $ (0.44)
Net loss per share attributable to Class A and Class B common stockholders, diluted (in dollars per share)   $ (0.11)   $ (0.44)
Corrections | Accounting Standards Update 2014-09        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Research and development   $ (30)   $ (119)
Sales and marketing   (1,493)   (2,506)
Total operating expenses   (1,523)   (2,625)
Operating loss   1,523   2,625
Loss before provision for income taxes   1,523   2,625
Net loss   $ 1,523   $ 2,625
Net loss per share attributable to Class A and Class B common stockholders, basic (in dollars per share)   $ 0   $ 0.01
Net loss per share attributable to Class A and Class B common stockholders, diluted (in dollars per share)   $ 0   $ 0.01