v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF MEZZANINE EQUITY AND EQUITY (DEFICIT) - USD ($)
shares in Thousands, $ in Millions
Total
Series G Redeemable Convertible Preferred Stock
Redeemable Non-Controlling Interest
Redeemable Convertible Preferred Stock
Redeemable Convertible Preferred Stock
Series G Redeemable Convertible Preferred Stock
Common Stock
Additional Paid-In Capital
Additional Paid-In Capital
Series G Redeemable Convertible Preferred Stock
Accumulated Other Comprehensive Income (Loss)
Accumulated Deficit
Non-Redeemable Non-Controlling Interests
Mezzanine equity, beginning balance at Dec. 31, 2016       $ 11,111              
Mezzanine equity, beginning balance (in shares) at Dec. 31, 2016       840,859              
Increase (Decrease) in Temporary Equity [Roll Forward]                      
Issuance of Series G redeemable convertible preferred stock, net of issuance costs       $ 1,008              
Issuance of Series G redeemable convertible preferred stock, net of issuance costs (in shares)       20,667              
Lapsing of repurchase option related to Series E redeemable convertible preferred stock issued to a non-employee service provider       $ 4              
Mezzanine equity, ending balance at Dec. 31, 2017     $ 0 $ 12,210              
Mezzanine equity, ending balance (in shares) at Dec. 31, 2017       863,305              
Stockholders' equity, beginning balance at Dec. 31, 2016 $ (4,596)         $ 0 $ 209   $ 1 $ (4,806)  
Shareholders' equity, beginning balance (in shares) at Dec. 31, 2016           455,051          
Increase (Decrease) in Stockholders' Equity [Roll Forward]                      
Exercise of warrants       $ 87              
Exercise of warrants (in shares)       1,779              
Vesting of common stock warrants 1           1        
Repurchase of outstanding shares (32)                 (32)  
Repurchase of outstanding shares (in shares)           (11,016)          
Exercise of stock options 4           4        
Exercise of stock options (in shares)           2,897          
Repurchase of unvested early-exercised stock options (1)           (1)        
Repurchase of unvested early-exercised stock options (in shares)           (3,538)          
Reclassification of early-exercised stock options from liability, net 6           6        
Stock-based compensation 97           97        
Issuance and repayment of employee loans collateralized by outstanding common stock 1           4     (3)  
Unrealized gain (loss) on available-for-sale securities, net of tax 0                    
Foreign currency translation adjustment (4)               (4)    
Net income (loss) (4,033)                 (4,033)  
Stockholders' equity, ending balance at Dec. 31, 2017 $ (8,557)         $ 0 320   (3) (8,874)  
Shareholders' equity, ending balance (in shares) at Dec. 31, 2017           443,394          
Increase (Decrease) in Temporary Equity [Roll Forward]                      
Issuance of Series G redeemable convertible preferred stock, net of issuance costs       $ 2,000              
Issuance of Series G redeemable convertible preferred stock, net of issuance costs (in shares)       41,007              
Lapsing of repurchase option related to Series E redeemable convertible preferred stock issued to a non-employee service provider       $ 1              
Issuance of non-controlling interest     10                
Mezzanine equity, net income (loss)     (10)                
Mezzanine equity, ending balance at Dec. 31, 2018     0 $ 14,177              
Mezzanine equity, ending balance (in shares) at Dec. 31, 2018 903,607     903,607              
Increase (Decrease) in Stockholders' Equity [Roll Forward]                      
Exercise of warrants $ 1     $ 3     1        
Exercise of warrants (in shares)       54   34          
Repurchase of outstanding shares 13 $ 4     $ (37)     $ 4   13  
Repurchase of outstanding shares (in shares)       (5) (754) (2,553)          
Exercise of stock options 27           27        
Exercise of stock options (in shares)           11,809          
Issuance of restricted common stock 21           21        
Issuance of restricted common stock (in shares)           514          
Repurchase of unvested early-exercised stock options 0                    
Repurchase of unvested early-exercised stock options (in shares)           (142)          
Reclassification of early-exercised stock options from liability, net 1           1        
Stock-based compensation 125           125        
Issuance and repayment of employee loans collateralized by outstanding common stock 3           4     (1)  
Issuance of common stock as consideration for investment and acquisition 144           144        
Issuance of common stock as consideration for investment and acquisition (in shares)           4,133          
Issuance of non-controlling interest (10)           (10)        
Deferred tax benefit arising from acquisition of previously consolidated entity 31           31        
Issuance of non-controlling interest     10                
Unrealized gain (loss) on available-for-sale securities, net of tax 40               40    
Foreign currency translation adjustment (225)               (225)    
Net income (loss) 997                 997  
Stockholders' equity, ending balance at Dec. 31, 2018 $ (7,385)         $ 0 668   (188) (7,865) $ 0
Shareholders' equity, ending balance (in shares) at Dec. 31, 2018 457,189         457,189          
Increase (Decrease) in Temporary Equity [Roll Forward]                      
Lapsing of repurchase option related to Series E redeemable convertible preferred stock issued to a non-employee service provider $ 10     $ 2     10        
Issuance of non-controlling interest $ 667   333               667
Mezzanine equity, net income (loss)     (22)                
Mezzanine equity, ending balance at Dec. 31, 2019     311 $ 0              
Mezzanine equity, ending balance (in shares) at Dec. 31, 2019 0     0              
Increase (Decrease) in Stockholders' Equity [Roll Forward]                      
Exercise of warrants       $ 45              
Exercise of warrants (in shares)       923              
Conversion of warrant to common stock in connection with initial public offering (in shares)           150          
Conversion of warrant to common stock in connection with initial public offering $ 7           7        
Conversion of Convertible Notes to common stock in connection with initial public offering (in shares)           93,978          
Conversion of convertible notes to common stock in connection with initial public offering 4,229           4,229        
Repurchase of outstanding shares 0                    
Repurchase of outstanding shares (in shares)           (1)          
Exercise of stock options 21           21        
Exercise of stock options (in shares)           6,924          
Exercise of put option on common stock held by Yandex (47)           (47)        
Exercise of put option on common stock held by Yandex (in shares)           (1,528)          
Repurchase of unvested early-exercised stock options 0                    
Repurchase of unvested early-exercised stock options (in shares)           (32)          
Stock-based compensation 4,634           4,634        
Issuance of common stock under the Employee Stock Purchase Plan 49           49        
Issuance of common stock under the Employee Stock Purchase Plan (in shares)           2,076          
Issuance of common stock in connection with initial public offering, net of offering costs 7,973           7,973        
Issuance of common stock in connection with initial public offering, net of offering cost (in shares)           180,000          
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering 14,224     $ (14,224)     14,224        
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering (in shares)       (904,530)   904,530          
Issuance of common stock in private placement 500           500        
Issuance of common stock related to private placement (in shares)           11,111          
Issuance of common stock for settlement of RSUs 0                    
Issuance of common stock for settlement of RSUs (in shares)           98,328          
Shares withheld related to net share settlement (1,573)           (1,573)        
Shares withheld related to net share settlement (in shares)           (36,249)          
Reclassification of share-based award liability to additional paid-in capital 21           21        
Issuance and repayment of employee loans collateralized by outstanding common stock 14           14        
Issuance of common stock as consideration for investment and acquisition 9           9        
Issuance of common stock as consideration for investment and acquisition (in shares)           205          
Issuance of non-controlling interest 667   $ 333               667
Unrealized gain (loss) on available-for-sale securities, net of tax 4               4    
Foreign currency translation adjustment (3)               (3)    
Net income (loss) (8,491)                 (8,506)  
Net Income (Loss) Attributable to Nonredeemable Noncontrolling Interest                     15
Stockholders' equity, ending balance at Dec. 31, 2019 $ 14,872         $ 0 $ 30,739   $ (187) $ (16,362) $ 682
Shareholders' equity, ending balance (in shares) at Dec. 31, 2019 1,716,681         1,716,681