v3.24.0.1
Consolidated Statements of Stockholders’ Equity - USD ($)
shares in Millions, $ in Millions
Total
Common Stock
Additional Paid-In Capital
Accumulated Other Comprehensive Income (Loss)
Accumulated Deficit
Beginning balance (in shares) at Dec. 31, 2020   599      
Beginning balance at Dec. 31, 2020 $ 2,901 $ 0 [1] $ 8,904 $ 3 $ (6,006)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Net income (loss) (352)       (352)
Other comprehensive loss (10)     (10)  
Exercise of common stock options, net of shares withheld for taxes (in shares)   18      
Exercise of common stock options, net of shares withheld for taxes 138   138    
Issuance of common stock upon settlement of RSUs, net of shares withheld for taxes (in shares)   16      
Issuance of common stock upon settlement of RSUs, net of shares withheld for taxes (44)   (44)    
Reclassification of derivative warrant liability to equity 1,277   1,277    
Purchase of capped calls (100)   (100)    
Issuance of common stock under employee stock purchase plan, net of shares withheld (in shares)   1      
Issuance of common stock under employee stock purchase plan, net of shares withheld for taxes 51   51    
Stock-based compensation 914   914    
Ending balance (in shares) at Dec. 31, 2021   634      
Ending balance at Dec. 31, 2021 4,775 $ 0 [1] 11,140 (7) (6,358)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Net income (loss) 1,893       1,893
Other comprehensive loss $ (25)     (25)  
Exercise of common stock options, net of shares withheld for taxes (in shares) 3 3      
Exercise of common stock options, net of shares withheld for taxes $ 40   40    
Issuance of common stock upon settlement of RSUs, net of shares withheld for taxes (in shares)   8      
Issuance of common stock upon settlement of RSUs, net of shares withheld for taxes (612)   (612)    
Issuance of common stock under employee stock purchase plan, net of shares withheld for taxes 48   48    
Stock-based compensation 941   941    
Repurchases of common stock (in shares)   (14)      
Repurchases of common stock (1,500)       (1,500)
Ending balance (in shares) at Dec. 31, 2022   631      
Ending balance at Dec. 31, 2022 5,560 $ 0 [1] 11,557 (32) (5,965)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Net income (loss) 4,792       4,792
Other comprehensive loss $ (17)     (17)  
Exercise of common stock options, net of shares withheld for taxes (in shares) 16 9      
Exercise of common stock options, net of shares withheld for taxes $ (521)   (521)    
Shares issued upon net settlement of warrants exercised (in shares)   6      
Issuance of common stock upon settlement of RSUs, net of shares withheld for taxes (in shares)   8      
Issuance of common stock upon settlement of RSUs, net of shares withheld for taxes (660)   (660)    
Issuance of common stock under employee stock purchase plan, net of shares withheld (in shares)   1      
Issuance of common stock under employee stock purchase plan, net of shares withheld for taxes 64   64    
Stock-based compensation 1,146   1,146    
Repurchases of common stock (in shares)   (18)      
Repurchases of common stock (2,252)       (2,252)
Issuance of common stock for acquisition of business (in shares)   1      
Issuance of common stock for acquisition of business 53   53    
Ending balance (in shares) at Dec. 31, 2023   638      
Ending balance at Dec. 31, 2023 $ 8,165 $ 0 [1] $ 11,639 $ (49) $ (3,425)
[1] Amounts round to zero and do not change rounded totals.