v3.20.4
Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity - USD ($)
shares in Thousands, $ in Thousands
Total
Cumulative Effect, Period of Adoption, Adjustment
Common Stock
Additional Paid-in Capital
Additional Paid-in Capital
Cumulative Effect, Period of Adoption, Adjustment
Accumulated Deficit
Accumulated Deficit
Cumulative Effect, Period of Adoption, Adjustment
Accumulated Other Comprehensive Income (Loss)
Non-controlling Interest
Redeemable Convertible Preferred Stock
Temporary equity, beginning balance (in shares) at Jan. 31, 2018                   118,693
Temporary equity, carrying amount, beginning balance at Jan. 31, 2018                   $ 351,016
Increase (Decrease) in Temporary Equity [Roll Forward]                    
Issuance of redeemable convertible preferred stock (in shares)                   12,575
Issuance of redeemable convertible preferred stock                   $ 206,896
Temporary equity, ending balance (in shares) at Jan. 31, 2019                   131,268
Temporary equity, carrying amount, ending balance at Jan. 31, 2019                   $ 557,912
Shares outstanding, beginning balance (in shares) at Jan. 31, 2018     44,231              
Stockholder's equity, including portion attributable to noncontrolling interest, beginning balance at Jan. 31, 2018 $ (369,474) $ 0 $ 22 $ 8,482 $ 101 $ (378,948) $ (101) $ 970 $ 0  
Increase (Decrease) in Stockholders' Equity [Roll Forward]                    
Issuance of common stock upon exercise of options (in shares)     3,046              
Issuance of common stock upon exercise of options 3,912   $ 2 3,910            
Stock issues related to early exercised options (in shares)     38              
Issuance of common stock (in shares)     106              
Vesting of early exercised options 543     543            
Stock-based compensation expense 20,505     20,505            
Repurchase of stock options (2,330)     (2,330)            
Net loss (140,077)         (140,077)        
Unrealized net gain on available-for-sale-securities, net of tax 6                  
Foreign currency translation adjustments (878)                  
Other comprehensive loss (872)             (872)    
Shares outstanding, ending balance (in shares) at Jan. 31, 2019     47,421              
Stockholder's equity, including portion attributable to noncontrolling interest, ending balance at Jan. 31, 2019 (487,793) $ 23,418 $ 24 31,211 $ 0 (519,126) $ 23,418 98 0  
Increase (Decrease) in Temporary Equity [Roll Forward]                    
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares)                   (131,268)
Conversion of redeemable convertible preferred stock to common stock upon initial public offering                   $ (557,912)
Temporary equity, ending balance (in shares) at Jan. 31, 2020                   0
Temporary equity, carrying amount, ending balance at Jan. 31, 2020                   $ 0
Increase (Decrease) in Stockholders' Equity [Roll Forward]                    
Issuance of common stock upon exercise of options (in shares)     10,645              
Issuance of common stock upon exercise of options 21,512   $ 5 21,507            
Stock issues related to early exercised options (in shares)     1,037              
Issuance of common stock (in shares)     20,700              
Issuance of common stock upon initial public offering, net of underwriting discounts and issuance costs 659,218   $ 11 659,207            
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares)     131,268              
Conversion of redeemable convertible preferred stock to common stock upon initial public offering 557,912   $ 66 557,846            
Reclassification of redeemable convertible preferred stock warrant liability to additional paid-in capital upon initial public offering 10,559     10,559            
Net exercise of common stock warrants (in shares)     322              
Issuance of common stock under RSU release (in shares)     1,127              
Issuance of common stock under employee stock purchase plan (in shares)     428              
Issuance of common stock under employee stock purchase plan 12,365     12,365            
Vesting of early exercised options 2,704     2,704            
Stock-based compensation expense 79,940     79,940            
Capitalized stock-based compensation 857     857            
Settlement related to stockholders short-swing trade profit 2,283     2,283            
Net loss (141,779)         (141,779)        
Non-controlling interest 500               500  
Unrealized net gain on available-for-sale-securities, net of tax 1,321             1,321    
Foreign currency translation adjustments (410)             (410)    
Other comprehensive loss 911                  
Shares outstanding, ending balance (in shares) at Jan. 31, 2020     212,948              
Stockholder's equity, including portion attributable to noncontrolling interest, ending balance at Jan. 31, 2020 742,607   $ 106 1,378,479   (637,487)   1,009 500  
Temporary equity, ending balance (in shares) at Jan. 31, 2021                   0
Temporary equity, carrying amount, ending balance at Jan. 31, 2021                   $ 0
Increase (Decrease) in Stockholders' Equity [Roll Forward]                    
Issuance of common stock upon exercise of options (in shares)     7,752              
Issuance of common stock upon exercise of options 28,831   $ 6 28,825            
Issuance of common stock under RSU release (in shares)     1,994              
Issuance of common stock under employee stock purchase plan (in shares)     1,030              
Issuance of common stock under employee stock purchase plan 34,263     34,263            
Vesting of early exercised options 3,318     3,318            
Stock-based compensation expense 149,375     149,375            
Capitalized stock-based compensation 3,686     3,686            
Fair value of replacement equity awards attributable to pre-acquisition service 313     313            
Net loss (92,629)         (92,629)        
Non-controlling interest 800               800  
Unrealized net gain on available-for-sale-securities, net of tax 0                  
Foreign currency translation adjustments 2,630                  
Other comprehensive loss 1,310             1,310    
Shares outstanding, ending balance (in shares) at Jan. 31, 2021     223,724              
Stockholder's equity, including portion attributable to noncontrolling interest, ending balance at Jan. 31, 2021 $ 871,874   $ 112 $ 1,598,259   $ (730,116)   $ 2,319 $ 1,300