XML 22 R6.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Redeemable Noncontrolling Interest and Stockholders' Equity - USD ($)
$ in Thousands
Total
Cumulative effect adjustment
Redeemable Noncontrolling Interest
Convertible Preferred Stock 
Common Stock 
Additional Paid-in Capital
Additional Paid-in Capital
Cumulative effect adjustment
Accumulated Other Comprehensive Gain (Loss)
  Accumulated Deficit
  Accumulated Deficit
Cumulative effect adjustment
Beginning balance (in shares) at Dec. 31, 2017       78,627,369 11,896,882          
Beginning balance at Dec. 31, 2017 $ 308,606     $ 499,974 $ 0 $ 4,900   $ (532) $ (195,736)  
Increase (Decrease) in Stockholders' Equity [Roll Forward]                    
Conversion of convertible preferred stock to common stock upon initial public offering (in shares)       (78,627,369) 58,264,577          
Conversion of convertible preferred stock to common stock upon initial public offering       $ (499,974) $ 1 499,973        
Issuance of common stock upon initial and follow-on offering, net of issuance costs (in shares)         14,375,000          
Issuance of common stock upon initial and follow-on offering, net of issuance costs $ 249,531         249,531        
Issuance of common stock upon exercise of stock options (in shares) 1,007,387       963,119          
Issuance of common stock upon exercise of stock options $ 2,905         2,905        
Issuance of common stock upon early exercise of stock options (in shares)         44,268          
Issuance of common stock upon exercise of warrants (in shares)         320,289          
Issuance of common stock upon exercise of warrants 45         45        
Repurchase of common and convertible preferred stock (in shares)         (31,681)          
Repurchase of common stock (172)         (172)        
Vesting of common stock exercised early 0                  
Stock-based compensation 6,851         6,851        
Other comprehensive gain, net of tax impact 449             449    
Net loss (84,263)               (84,263)  
Ending balance (in shares) at Dec. 31, 2018       0 85,832,454          
Ending balance at Dec. 31, 2018 483,152     $ 0 $ 1 764,033   (83) (280,799)  
Ending balance (Cumulative effect adjustment for Topic 606 adoption) at Dec. 31, 2018   $ 4,907               $ 4,907
Ending balance (Cumulative effect adjustment for ASU 2018-07 adoption) at Dec. 31, 2018   $ 0         $ 1,266     $ (1,266)
Beginning balance at Dec. 31, 2017     $ 0              
Increase (Decrease) in Temporary Equity [Roll Forward]                    
Issuance of equity interests in redeemable noncontrolling interest     41,000              
Adjustment of redeemable noncontrolling interest (800)   800           (800)  
Ending balance at Dec. 31, 2018     41,800              
Increase (Decrease) in Stockholders' Equity [Roll Forward]                    
Issuance of common stock upon initial and follow-on offering, net of issuance costs (in shares)         5,175,000          
Issuance of common stock upon initial and follow-on offering, net of issuance costs $ 349,709         349,709        
Issuance of common stock upon exercise of stock options (in shares) 2,999,419       2,999,419          
Issuance of common stock upon exercise of stock options $ 11,638         11,638        
Vesting of restricted stock units (in shares)         22,208          
Vesting of common stock exercised early 95         95        
Common stock issued under employee stock purchase plan (in shares)         232,333          
Common stock issued under employee stock purchase plan 6,395         6,395        
Stock-based compensation 16,954         16,954        
Other comprehensive gain, net of tax impact 1,194             1,194    
Net loss (67,851)               (67,851)  
Ending balance (in shares) at Dec. 31, 2019       0 94,261,414          
Ending balance at Dec. 31, 2019 798,393     $ 0 $ 1 1,150,090   1,111 (352,809)  
Increase (Decrease) in Temporary Equity [Roll Forward]                    
Adjustment of redeemable noncontrolling interest (7,800)   7,800           (7,800)  
Ending balance at Dec. 31, 2019     49,600              
Increase (Decrease) in Stockholders' Equity [Roll Forward]                    
Issuance of common stock upon initial and follow-on offering, net of issuance costs (in shares)         4,312,500          
Issuance of common stock upon initial and follow-on offering, net of issuance costs 354,600         354,600        
Equity component of convertible senior notes, net 330,403         330,403        
Purchase of convertible senior note hedges $ (90,045)         (90,045)        
Issuance of common stock upon exercise of stock options (in shares) 1,446,843       1,446,843          
Issuance of common stock upon exercise of stock options $ 9,528         9,528        
Vesting of restricted stock units (in shares)         97,188          
Vesting of common stock exercised early 52         52        
Common stock issued under employee stock purchase plan (in shares)         96,040          
Common stock issued under employee stock purchase plan 7,095         7,095        
Taxes paid related to net share settlement of restricted stock units (3,447)         (3,447)        
Stock-based compensation 144,113         144,113        
Other comprehensive gain, net of tax impact 1,586             1,586    
Net loss (246,283)               (246,283)  
Ending balance (in shares) at Dec. 31, 2020       0 100,213,985          
Ending balance at Dec. 31, 2020 1,298,495     $ 0 $ 1 $ 1,902,389   $ 2,697 (606,592)  
Increase (Decrease) in Temporary Equity [Roll Forward]                    
Adjustment of redeemable noncontrolling interest $ (7,500)   7,500           $ (7,500)  
Ending balance at Dec. 31, 2020     $ 57,100