v3.22.0.1
Statement of Shareholders' Equity - USD ($)
shares in Thousands, $ in Thousands
Total
Cumulative Effect, Period of Adoption, Adjustment
Common Stock
Additional Paid-In Capital
Accumulated Other Comprehensive Income (Loss)
Accumulated Deficit
Accumulated Deficit
Cumulative Effect, Period of Adoption, Adjustment
Beginning balance (in shares) at Dec. 31, 2018 239,624            
Beginning balance at Dec. 31, 2018 $ 3,231,502            
Ending balance (in shares) at Dec. 31, 2019 239,624            
Ending balance at Dec. 31, 2019 $ 3,231,502            
Beginning Balance (in shares) at Dec. 31, 2018     258,092        
Beginning balance at Dec. 31, 2018 (517,308) $ 22,236 $ 26 $ 259,466 $ (7,912) $ (768,888) $ 22,236
Increase (Decrease) in Stockholders' Equity [Roll Forward]              
Net loss (674,339)         (674,339)  
Other comprehensive income 3,502       3,502    
Issuance of common stock for vesting of restricted stock units (in shares)     1        
Issuance of common stock for acquisition of businesses (in shares)     4,307        
Issuance of common stock for acquisition of businesses 240,687     240,687      
Exercise of common stock options (in shares)     897        
Exercise of common stock options 5,873     5,873      
Exercise of common stock warrant (in shares)     145        
Restricted stock issued with compensation arrangements (in shares)     372        
Reclassification of derivative warrant liability to equity 14,117     14,117      
Stock-based compensation 97,547     97,547      
Ending balance (in shares) at Dec. 31, 2019     263,814        
Ending balance at Dec. 31, 2019 $ (807,685)   $ 26 617,690 (4,410) (1,420,991)  
Increase (Decrease) in Stockholders' Equity [Roll Forward]              
Accounting Standards Update [Extensible Enumeration] Accounting Standards Update 2016-02 [Member]            
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering (in shares) (239,624)            
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering $ (3,231,502)            
Ending balance (in shares) at Dec. 31, 2020 0            
Ending balance at Dec. 31, 2020 $ 0            
Increase (Decrease) in Stockholders' Equity [Roll Forward]              
Net loss (4,584,716)         (4,584,716)  
Other comprehensive income 7,049       7,049    
Capital contribution from founders $ 14,615     14,615      
Cancellation of restricted stock awards (in shares)     (21)        
Exercise of common stock options (in shares) 7,496   7,495        
Exercise of common stock options $ 15,074     15,074      
Exercise of common stock warrant (in shares)     238        
Issuance of common stock in connection with initial public offering, net of underwriting discounts and issuance costs (in shares)     55,000        
Issuance of common stock in connection with initial public offering, net of underwriting discounts and issuance costs 3,650,870   $ 6 3,650,864      
Issuance of common stock upon settlement of RSUs, net of shares withheld (in shares)     31,760        
Issuance of common stock upon settlement of RSUs, net of shares withheld (1,650,454)   $ 4 (1,650,458)      
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering (in shares)     240,911        
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering 3,231,502   $ 24 3,231,478      
Settlement of contingent consideration liability settled in shares 22,363     22,363      
Stock-based compensation 3,003,165     3,003,165      
Ending balance (in shares) at Dec. 31, 2020     599,197        
Ending balance at Dec. 31, 2020 $ 2,901,783   $ 60 8,904,791 2,639 (6,005,707)  
Ending balance (in shares) at Dec. 31, 2021 0            
Ending balance at Dec. 31, 2021 $ 0            
Increase (Decrease) in Stockholders' Equity [Roll Forward]              
Net loss (352,034)         (352,034)  
Other comprehensive income $ (9,532)       (9,532)    
Exercise of common stock options (in shares) 17,707   17,707        
Exercise of common stock options $ 137,572   $ 3 137,569      
Reclassification of derivative warrant liability to equity 1,277,168     1,277,168      
Issuance of common stock upon settlement of RSUs, net of shares withheld (in shares)     15,668        
Issuance of common stock upon settlement of RSUs, net of shares withheld (43,956)     (43,956)      
Purchase of capped calls (100,200)     (100,200)      
Issuance of common stock under employee stock purchase plan, net of shares withheld (in shares)     952        
Issuance of common stock under employee stock purchase plan, net of shares withheld 50,621     50,621      
Stock-based compensation 914,291     914,291      
Ending balance (in shares) at Dec. 31, 2021     633,524        
Ending balance at Dec. 31, 2021 $ 4,775,713   $ 63 $ 11,140,284 $ (6,893) $ (6,357,741)