XML 26 R7.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Stockholders’ Equity (Deficit) - USD ($)
shares in Thousands, $ in Thousands
Total
Cumulative Effect, Period of Adoption, Adjustment
Common Stock
Class A and Class B 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)
Beginning balance at Dec. 31, 2019 $ 2,854,084   $ 3 $ 8,398,927   $ (5,547,571)   $ 2,725
Beginning balance (in shares) at Dec. 31, 2019     302,596          
Increase (Decrease) in Stockholders' Equity                
Issuance of common stock upon exercise of stock options 4,673     4,673        
Issuance of common stock upon exercise of stock options (in shares)     1,039          
Issuance of common stock upon settlement of restricted stock units (in shares)     19,762          
Issuance of common stock under employee stock purchase plan 21,351     21,351        
Issuance of common stock under employee stock purchase plan (in shares)     892          
Shares withheld related to net share settlement (20,240)     (20,240)        
Shares withheld related to net share settlement (in shares)     (552)          
Purchase of capped call (132,681)     (132,681)        
Settlement of convertible senior notes 139,224     139,224        
Stock-based compensation 565,807     565,807        
Other comprehensive loss (3,198)             (3,198)
Net loss (1,752,857)         (1,752,857)    
Ending balance at Dec. 31, 2020 1,676,163   $ 3 8,977,061   (7,300,428)   (473)
Ending balance (in shares) at Dec. 31, 2020     323,737          
Increase (Decrease) in Stockholders' Equity                
Issuance of common stock upon exercise of stock options 5,184     5,184        
Issuance of common stock upon exercise of stock options (in shares)     812          
Issuance of common stock upon settlement of restricted stock units (in shares)     19,926          
Issuance of common stock under employee stock purchase plan 28,637     28,637        
Issuance of common stock under employee stock purchase plan (in shares)     972          
Shares withheld related to net share settlement (26,298)     (26,298)        
Shares withheld related to net share settlement (in shares)     (509)          
Settlement of convertible senior notes (1)     (1)        
Stock-based compensation 721,710     721,710        
Other comprehensive loss (2,038)             (2,038)
Net loss (1,062,144)         (1,062,144)    
Ending balance at Dec. 31, 2021 $ 1,341,213 $ (133,470) $ 3 9,706,293 $ (139,958) (8,362,572) $ 6,488 (2,511)
Ending balance (in shares) at Dec. 31, 2021     344,938          
Increase (Decrease) in Stockholders' Equity                
Accounting Standards Update [Extensible Enumeration] Accounting Standards Update 2020-06 [Member]              
Issuance of common stock upon exercise of stock options $ 454     454        
Issuance of common stock upon exercise of stock options (in shares) 112   112          
Issuance of common stock upon settlement of restricted stock units $ 1   $ 1          
Issuance of common stock upon settlement of restricted stock units (in shares)     23,928          
Issuance of common stock under employee stock purchase plan 21,198     21,198        
Issuance of common stock under employee stock purchase plan (in shares)     1,535          
Shares withheld related to net share settlement (6,733)     (6,733)        
Shares withheld related to net share settlement (in shares)     (358)          
Stock-based compensation 753,619     753,619        
Other comprehensive loss (3,243)             (3,243)
Net loss (1,584,511)         (1,584,511)    
Other 140     140        
Ending balance at Dec. 31, 2022 $ 388,668   $ 4 $ 10,335,013   $ (9,940,595)   $ (5,754)
Ending balance (in shares) at Dec. 31, 2022     370,155