Condensed Consolidated Statements of Stockholders' Equity - USD ($)
$ in Thousands
Total
Common Stock
Additional Paid-in Capital
Accumulated Other Comprehensive Loss
Accumulated Deficit
Treasury Stock
Beginning of period (in shares) at Jan. 31, 2022   131,157,000        
Beginning of period at Jan. 31, 2022 $ 211,870 $ 137 $ 834,429 $ (187) $ (610,604) $ (11,905)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Exercise of stock options (in shares)   123,000        
Exercise of stock options 302   302      
Vested restricted stock units converted to common shares, net of shares withheld for employee taxes (in shares)   1,165,000        
Vested restricted stock units converted to common shares, net of shares withheld for employee taxes 0 $ 1 (1)      
Issuance of common stock under employee stock purchase plan (in shares)   457,000        
Issuance of common stock under employee stock purchase plan 2,354 $ 1 2,353      
Stock-based compensation 18,201   18,201      
Repurchase of common stock (in shares)   (4,838,000)        
Repurchase of common stock (30,554)         (30,554)
Other comprehensive income (loss) (3,414)     (3,414)    
Net loss (25,839)       (25,839)  
End of period (in shares) at Apr. 30, 2022   128,064,000        
End of period at Apr. 30, 2022 172,920 $ 139 855,284 (3,601) (636,443) (42,459)
Beginning of period (in shares) at Jan. 31, 2022   131,157,000        
Beginning of period at Jan. 31, 2022 211,870 $ 137 834,429 (187) (610,604) (11,905)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Exercise of stock options (in shares)   259,000        
Exercise of stock options 711   711      
Vested restricted stock units converted to common shares, net of shares withheld for employee taxes (in shares)   3,967,000        
Vested restricted stock units converted to common shares, net of shares withheld for employee taxes (5,133) $ 4 (5,137)      
Issuance of common stock under employee stock purchase plan (in shares)   796,000        
Issuance of common stock under employee stock purchase plan 3,815 $ 1 3,814      
Stock-based compensation 63,551   63,551      
Repurchase of common stock (in shares)   (13,844,000)        
Repurchase of common stock (77,423)         (77,423)
Other comprehensive income (loss) (3,430)     (3,430)    
Net loss $ (65,938)       (65,938)  
End of period (in shares) at Jan. 31, 2023 122,334,515 122,335,000        
End of period at Jan. 31, 2023 $ 128,023 $ 142 897,368 (3,617) (676,542) (89,328)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Exercise of stock options (in shares) 1,255,500 1,256,000        
Exercise of stock options $ 7,244 $ 1 7,243      
Vested restricted stock units converted to common shares, net of shares withheld for employee taxes (in shares)   682,000        
Vested restricted stock units converted to common shares, net of shares withheld for employee taxes (3,240) $ 1 (3,241)      
Issuance of restricted stock (in shares)   13,000        
Issuance of common stock under employee stock purchase plan (in shares)   492,000        
Issuance of common stock under employee stock purchase plan 2,120 $ 1 2,119      
Stock-based compensation 11,119   11,119      
Repurchase of common stock (in shares)   (564,000)        
Repurchase of common stock (4,613)         (4,613)
Other comprehensive income (loss) 346     346    
Net loss $ (412)       (412)  
End of period (in shares) at Apr. 30, 2023 124,214,252 124,214,000        
End of period at Apr. 30, 2023 $ 140,587 $ 145 $ 914,608 $ (3,271) $ (676,954) $ (93,941)