XML 21 R7.htm IDEA: XBRL DOCUMENT v3.24.0.1
CONSOLIDATED STATEMENTS OF STOCKHOLDERS’ EQUITY - USD ($)
$ in Thousands
Total
Cumulative Effect, Period of Adoption, Adjustment
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)
Class A common stock
Class A common stock
Common Stock
Class B common stock
Class B common stock
Common Stock
Accounting Standards Update [Extensible List] Accounting Standards Update 2016-02 [Member]                    
Beginning balance (in shares) at Dec. 31, 2020                 249,401,000   59,239,000
Beginning balance at Dec. 31, 2020 $ 816,940   $ 1,236,993   $ (420,520)   $ 163   $ 249   $ 55
Increase (Decrease) in Stockholders' Equity [Roll Forward]                      
Issuance of common stock in connection with acquisition (in shares)                 9,000    
Issuance of common stock in connection with acquisition $ 1,565   1,565                
Issuance of unvested restricted stock in connection with acquisition (in shares)                 39,000    
Issuance of common stock upon exercise of stock options (in shares) 4,455,000               686,000   3,727,000
Issuance of common stock upon exercise of stock options $ 21,386   21,381           $ 1   $ 4
Repurchases of unvested common stock (in shares)                 (75,000)    
Issuance of common stock related to early exercised stock options (in shares)                     42,000
Vesting of shares issued upon early exercise of stock options 3,879   3,877               $ 2
Issuance of common stock related to settlement of RSUs (in shares)                 1,457,000   1,297,000
Issuance of common stock related to settlement of RSUs (1)   (3)           $ 1   $ 1
Tax withholding on RSU settlement (in shares)                     (29,000)
Tax withholding on RSU settlement (3,634)   (3,634)                
Conversion of Class B to Class A common stock (in shares)                 18,372,000   (18,372,000)
Conversion of Class B to Class A common stock 0               $ 18   $ (18)
Equity component of convertible senior notes, net of issuance costs 262,077   262,077                
Purchases of capped calls related to convertible senior notes (86,293)   (86,293)                
Settlement of common stock in connection with convertible senior notes (in shares)                 7,559,000    
Settlement of common stock in connection with convertible senior notes 920,249   920,241           $ 8    
Equity component of extinguishment of convertible senior notes (965,684)   (965,684)                
Temporary equity reclassification (4,439)   (4,439)                
Common stock issued under employee stock purchase plan (in shares)                 260,000    
Common stock issued under employee stock purchase plan 14,984   14,984           $ 0    
Stock-based compensation 93,447   93,447                
Net loss (260,309)       (260,309)       $ (219,939)   $ (40,370)
Other comprehensive (loss) income (2,808)           (2,808)        
Ending balance (in shares) at Dec. 31, 2021                 277,708,000   45,904,000
Ending balance at Dec. 31, 2021 811,359 $ (284,437) 1,494,512 $ (318,756) (680,829) $ 34,319 (2,645)   $ 277   $ 44
Increase (Decrease) in Stockholders' Equity [Roll Forward]                      
Issuance of common stock in connection with acquisition (in shares)                 522,000    
Issuance of common stock in connection with acquisition $ 65,505   65,504           $ 1    
Issuance of unvested restricted stock in connection with acquisition (in shares)                 52,000    
Issuance of common stock upon exercise of stock options (in shares) 2,484,000               249,000   2,194,000
Issuance of common stock upon exercise of stock options $ 10,000   9,998           $ 0   $ 2
Repurchases of unvested common stock (in shares)                 (1,000)    
Issuance of common stock related to early exercised stock options (in shares)                     41,000
Vesting of shares issued upon early exercise of stock options 2,862   2,861               $ 1
Issuance of common stock related to settlement of RSUs (in shares)                 1,723,000   1,125,000
Issuance of common stock related to settlement of RSUs 0   (3)           $ 2   $ 1
Tax withholding on RSU settlement (in shares)                     (32,000)
Tax withholding on RSU settlement (2,483)   (2,483)                
Conversion of Class B to Class A common stock (in shares)                 5,707,000   (5,707,000)
Conversion of Class B to Class A common stock 0               $ 6   $ (6)
Settlement of common stock in connection with convertible senior notes (in shares)                 299,000    
Settlement of common stock in connection with convertible senior notes (201)   (201)                
Common stock issued under employee stock purchase plan (in shares)                 302,000    
Common stock issued under employee stock purchase plan 15,291   15,291                
Stock-based compensation 208,700   208,700                
Net loss (193,381)       (193,381)       $ (167,770)   $ (25,611)
Other comprehensive (loss) income (9,251)           (9,251)        
Ending balance (in shares) at Dec. 31, 2022               286,560,947 286,561,000 43,524,514 43,525,000
Ending balance at Dec. 31, 2022 $ 623,964   1,475,423   (839,891)   (11,896)   $ 286   $ 42
Increase (Decrease) in Stockholders' Equity [Roll Forward]                      
Issuance of common stock upon exercise of stock options (in shares) 2,989,000               448,000   2,541,000
Issuance of common stock upon exercise of stock options $ 14,851   14,848               $ 3
Repurchases of unvested common stock (in shares)                 (17,000)    
Vesting of shares issued upon early exercise of stock options 1,761   1,760               $ 1
Issuance of common stock related to settlement of RSUs (in shares)                 3,291,000   398,000
Issuance of common stock related to settlement of RSUs 0   (4)           $ 3   $ 1
Tax withholding on RSU settlement (in shares)                 (105,000)   (18,000)
Tax withholding on RSU settlement (7,953)   (7,953)                
Conversion of Class B to Class A common stock (in shares)                 7,003,000   (7,003,000)
Conversion of Class B to Class A common stock 0               $ 7   $ (7)
Settlement of common stock in connection with convertible senior notes (in shares)                 461,000    
Settlement of common stock in connection with convertible senior notes 46   46                
Common stock issued under employee stock purchase plan (in shares)                 447,000    
Common stock issued under employee stock purchase plan 19,083   19,082           $ 1    
Stock-based compensation 281,364   281,364                
Net loss (183,949)       (183,949)       $ (161,296)   $ (22,653)
Other comprehensive (loss) income 13,880           13,880        
Ending balance (in shares) at Dec. 31, 2023               298,088,556 298,089,000 39,443,337 39,443,000
Ending balance at Dec. 31, 2023 $ 763,047   $ 1,784,566   $ (1,023,840)   $ 1,984   $ 297   $ 40