XML 19 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT) - USD ($)
$ in Thousands
Total
Common Stock
Class A Common Stock 
Common Stock
Class B Common Stock 
Additional Paid-in Capital
Accumulated Other Comprehensive Income (Loss)
Accumulated Deficit
Beginning balance (in shares) at Jan. 31, 2019   101,093,322 11,059,181      
Beginning balance at Jan. 31, 2019 $ 252,377 $ 10 $ 1 $ 744,896 $ (319) $ (492,211)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock upon exercise of stock options and other activity, net (in shares)   5,323,410 100,007      
Issuance of common stock upon exercise of stock options and other activity, net 45,732 $ 1   45,731    
Issuance of common stock under employee stock purchase plan, net of cancellations (in shares)   322,795        
Issuance of common stock under employee stock purchase plan, net of cancellations 18,767     18,767    
Issuance of common stock for settlement of RSUs (in shares)   1,716,222        
Issuance of common stock for bonus settlement (in shares)   34,600        
Issuance of common stock for bonus settlement 2,809     2,809    
Issuance of common stock pursuant to charitable donation (in shares)   15,000        
Issuance of common stock pursuant to charitable donation 1,746     1,746    
Conversion of Class B common stock to Class A common stock (in shares)   2,511,409 (2,511,409)      
Equity component of convertible senior notes, net of issuance costs 217,347     217,347    
Equity component of early extinguishment of convertible senior notes (in shares)   2,973,311        
Equity component of early extinguishment and conversion of convertible senior notes (26,713)     (26,713)    
Proceeds from hedges related to convertible senior notes 405,851     405,851    
Payments for warrants related to convertible senior notes (358,622)     (358,622)    
Purchases of capped calls related to convertible senior notes (74,094)     (74,094)    
Stock-based compensation 127,846     127,846    
Other comprehensive income 1,211       1,211  
Net loss (208,913) $ (192,138) $ (16,775)     (208,913)
Ending balance (in shares) at Jan. 31, 2020   113,990,069 8,647,779      
Ending balance at Jan. 31, 2020 405,344 $ 11 $ 1 1,105,564 892 (701,124)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock upon exercise of stock options and other activity, net (in shares)   4,113,825 254,858      
Issuance of common stock upon exercise of stock options and other activity, net 45,620 $ 1   45,619    
Issuance of common stock under employee stock purchase plan, net of cancellations (in shares)   247,131        
Issuance of common stock under employee stock purchase plan, net of cancellations 25,911     25,911    
Issuance of common stock for settlement of RSUs (in shares)   2,109,393        
Issuance of common stock for bonus settlement (in shares)   85,701        
Issuance of common stock for bonus settlement 9,818     9,818    
Issuance of common stock pursuant to charitable donation (in shares)   42,500        
Issuance of common stock pursuant to charitable donation 9,292     9,292    
Conversion of Class B common stock to Class A common stock (in shares)   743,190 (743,190)      
Exercise of hedges related to convertible senior notes (in shares)   (167,946)        
Equity component of convertible senior notes, net of issuance costs 306,220     306,220    
Equity component of early extinguishment of convertible senior notes (in shares)   1,660,104        
Equity component of early extinguishment and conversion of convertible senior notes 70,493     70,493    
Proceeds from hedges related to convertible senior notes 195,046     195,046    
Payments for warrants related to convertible senior notes (175,399)     (175,399)    
Purchases of capped calls related to convertible senior notes (133,975)     (133,975)    
Stock-based compensation 197,507     197,507    
Other comprehensive income 4,498       4,498  
Net loss (266,332) $ (248,892) $ (17,440)     (266,332)
Ending balance (in shares) at Jan. 31, 2021   122,823,967 8,159,447      
Ending balance at Jan. 31, 2021 694,043 $ 12 $ 1 1,656,096 5,390 (967,456)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock in connection with business combinations (in shares)   19,190,297        
Issuance of common stock in connection with business combinations $ 5,409,344 $ 2   5,409,342    
Stock Issued During Period, Shares, Acquisitions, Subject to Future Vesting   1,269,008        
Issuance of common stock upon exercise of stock options and other activity, net (in shares) 2,578,074 2,552,466 1,673      
Issuance of common stock upon exercise of stock options and other activity, net $ 53,535     53,534    
Issuance of common stock under employee stock purchase plan, net of cancellations (in shares)   185,707        
Issuance of common stock under employee stock purchase plan, net of cancellations 35,568     35,568    
Issuance of common stock for settlement of RSUs (in shares)   2,294,313        
Issuance of common stock for settlement of RSUs (13)     (13)    
Issuance of common stock pursuant to charitable donation (in shares)   30,000        
Issuance of common stock pursuant to charitable donation 7,238     7,238    
Conversion of Class B common stock to Class A common stock (in shares)   1,182,628 (1,182,628)      
Exercise of hedges related to convertible senior notes (in shares)   (380,088)        
Equity component of early extinguishment of convertible senior notes (in shares)   475,915        
Equity component of early extinguishment and conversion of convertible senior notes 20,776     20,776    
Proceeds from hedges related to convertible senior notes 2     2    
Stock-based compensation 567,173     567,173    
Other comprehensive income (17,399)       (17,399)  
Net loss (848,411) $ (806,276) $ (42,135)     (848,411)
Ending balance (in shares) at Jan. 31, 2022   149,624,213 6,978,492      
Ending balance at Jan. 31, 2022 $ 5,921,856 $ 15 $ 1 $ 7,749,716 $ (12,009) $ (1,815,867)