v3.22.0.1
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
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, 2019                 131,268
Temporary equity, carrying amount, beginning balance at Jan. 31, 2019                 $ 557,912
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
Shares outstanding, beginning balance (in shares) at Jan. 31, 2019     47,421            
Stockholder's equity, including portion attributable to noncontrolling interest, beginning balance at Jan. 31, 2019 $ (487,793) $ 23,418 $ 24 $ 31,211 $ (519,126) $ 23,418 $ 98 $ 0  
Increase (Decrease) in Stockholders' Equity [Roll Forward]                  
Issuance of common stock upon initial public offering, net of underwriting discounts and issuance costs (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 upon exercise of options (in shares)     10,645            
Issuance of common stock upon exercise of options 21,512   $ 5 21,507          
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          
Issuance of common stock related to early exercised options (in shares)     1,037            
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 income (loss) (141,779)       (141,779)        
Non-controlling interest 500             500  
Unrealized 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 income (loss) (92,629)       (92,629)        
Non-controlling interest 800             800  
Unrealized 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  
Temporary equity, ending balance (in shares) at Jan. 31, 2022                 0
Temporary equity, carrying amount, ending balance at Jan. 31, 2022                 $ 0
Increase (Decrease) in Stockholders' Equity [Roll Forward]                  
Issuance of common stock upon exercise of options (in shares)     2,598            
Issuance of common stock upon exercise of options 15,899   $ 1 15,898          
Issuance of common stock under RSU release (in shares)     3,408            
Issuance of common stock under RSU and PSU release 0   $ 2 (2)          
Issuance of common stock under employee stock purchase plan (in shares)     904            
Issuance of common stock under employee stock purchase plan 50,277     50,277          
Issuance of common stock related to early exercised options (in shares)     57            
Vesting of early exercised options 3,165     3,165          
Issuance of common stock for founders holdbacks related to acquisitions (in shares)     15            
Issuance of common stock for founders holdbacks related to acquisitions 3,528     3,528          
Stock-based compensation expense 305,792     305,792          
Capitalized stock-based compensation 10,879     10,879          
Fair value of replacement equity awards attributable to pre-acquisition service 4,011     4,011          
Net income (loss) (232,378)       (234,802)     2,424  
Non-controlling interest 8,155             8,155  
Unrealized gain on available-for-sale securities, net of tax 0                
Foreign currency translation adjustments (3,559)                
Other comprehensive loss (3,559)           (3,559)    
Shares outstanding, ending balance (in shares) at Jan. 31, 2022     230,706            
Stockholder's equity, including portion attributable to noncontrolling interest, ending balance at Jan. 31, 2022 $ 1,037,643   $ 115 $ 1,991,807 $ (964,918)   $ (1,240) $ 11,879