v3.20.1
Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity - USD ($)
$ in Thousands
Total
Common Stock
Additional Paid-in Capital
Accumulated Deficit
Accumulated Other Comprehensive Income (Loss)
Non-controlling Interest
Redeemable Convertible Preferred Stock
Series D
Series D-1
Series E
Temporary equity, beginning balance (in shares) at Jan. 31, 2017             95,729,000      
Temporary equity, carrying amount, beginning balance at Jan. 31, 2017             $ 214,728      
Increase (Decrease) in Temporary Equity [Roll Forward]                    
Issuance of redeemable convertible preferred stock (in shares)               17,570,000 5,394,000  
Issuance of redeemable convertible preferred stock               $ 99,813 $ 30,622  
Accretion of redeemable convertible preferred stock $ 5,853           $ 5,853      
Temporary equity, ending balance (in shares) at Jan. 31, 2018             118,693,000      
Temporary equity, carrying amount, ending balance at Jan. 31, 2018             $ 351,016      
Shares outstanding, beginning balance (in shares) at Jan. 31, 2017   40,498,000                
Stockholder's equity, including portion attributable to noncontrolling interest, beginning balance at Jan. 31, 2017 (243,453) $ 20 $ 0 $ (243,458) $ (15) $ 0        
Increase (Decrease) in Stockholders' Equity [Roll Forward]                    
Issuance of common stock upon exercise of options (in shares)   2,363,000                
Issuance of common stock upon exercise of options 1,420 $ 2 1,418              
Stock issues related to early exercised options (in shares)   1,370,000                
Vesting of early exercised options 574   574              
Stock-based compensation expense 12,343   12,343              
Accretion of redeemable convertible preferred stock (5,853)   (5,853)              
Net loss (135,490)     (135,490)            
Other comprehensive income 985       985          
Reclassification of redeemable convertible preferred stock warrant liability to additional paid-in capital upon initial public offering 0                  
Unrealized gain on available-for-sale securities, net of tax 8                  
Foreign currency translation adjustments 977                  
Shares outstanding, ending balance (in shares) at Jan. 31, 2018   44,231,000                
Stockholder's equity, including portion attributable to noncontrolling interest, ending balance at Jan. 31, 2018 (369,474) $ 22 8,482 (378,948) 970 0        
Increase (Decrease) in Temporary Equity [Roll Forward]                    
Issuance of redeemable convertible preferred stock (in shares)                   12,575,000
Issuance of redeemable convertible preferred stock                   $ 206,896
Accretion of redeemable convertible preferred stock $ 0                  
Temporary equity, ending balance (in shares) at Jan. 31, 2019 131,268,000           131,268,000 17,570,000 5,394,000 12,575,000
Temporary equity, carrying amount, ending balance at Jan. 31, 2019 $ 557,912           $ 557,912 $ 99,845 $ 30,626 $ 206,896
Increase (Decrease) in Stockholders' Equity [Roll Forward]                    
Issuance of common stock upon exercise of options (in shares)   3,046,000                
Issuance of common stock upon exercise of options 3,912 $ 2 3,910              
Stock issues related to early exercised options (in shares)   38,000                
Vesting of early exercised options 543   543              
Stock-based compensation expense 20,505   20,505              
Net loss (140,077)     (140,077)            
Other comprehensive income (872)       (872)          
Issuance of common stock (in shares)   106,000                
Repurchase of stock options (2,330)   (2,330)              
Reclassification of redeemable convertible preferred stock warrant liability to additional paid-in capital upon initial public offering 0                  
Unrealized gain on available-for-sale securities, net of tax 6                  
Foreign currency translation adjustments (878)                  
Shares outstanding, ending balance (in shares) at Jan. 31, 2019   47,421,000                
Stockholder's equity, including portion attributable to noncontrolling interest, ending balance at Jan. 31, 2019 (487,793) $ 24 31,211 (519,126) 98 0        
Increase (Decrease) in Temporary Equity [Roll Forward]                    
Accretion of redeemable convertible preferred stock $ 0                  
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares)             (131,268,000)      
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           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,000                
Issuance of common stock upon exercise of options $ 21,512 $ 5 21,507              
Stock issues related to early exercised options (in shares)   1,037,000                
Vesting of early exercised options 2,704   2,704              
Stock-based compensation expense 79,940   79,940              
Net loss (141,779)     (141,779)            
Other comprehensive income 911                  
Issuance of common stock (in shares)   20,700,000                
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,000                
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   322,000                
Issuance of common stock under RSU release (in shares)   1,127,000                
Issuance of common stock under RSU release 0 $ 0                
Issuance of common stock under employee stock purchase plan (in shares)   428,000                
Issuance of common stock under employee stock purchase plan 12,365   12,365              
Capitalized stock-based compensation 857   857              
Settlement related to stockholders short-swing trade profit 2,283   2,283              
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)          
Shares outstanding, ending balance (in shares) at Jan. 31, 2020   212,948,000                
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