v3.22.0.1
Income Taxes (Tables)
12 Months Ended
Dec. 31, 2021
Income Tax Disclosure [Abstract]  
Summary of Loss Before Provision for (benefit from) Income Taxes
Loss before provision for (benefit from) income taxes consisted of the following (in thousands):

 
 
 
Years Ended December 31,
 
 
 
2021
 
 
2020
 
 
2019
 
United States
   $ (514,200   $ (1,203,682   $ (580,362
Foreign
     25,706       24,655       13,091  
    
 
 
   
 
 
   
 
 
 
Loss before provision for (benefit from) income taxes
   $ (488,494   $ (1,179,027   $ (567,271
    
 
 
   
 
 
   
 
 
 
Summary of Provision for (benefit from) Income Taxes
Provision for (benefit from) income taxes consisted of the following (in thousands):

 
 
 
Years Ended December 31,
 
 
 
2021
 
 
2020
 
 
2019
 
Current:
                        
Federal
   $     $     $  
State
     (88     500       139  
Foreign
     (11,343     7,249       19,435  
    
 
 
   
 
 
   
 
 
 
Total current provision
     (11,431     7,749       19,574  
Deferred:
                        
Federal
     (111            
State
                  
Foreign
     43,427       (20,385     (7,199
    
 
 
   
 
 
   
 
 
 
Total deferred provision
     43,316       (20,385     (7,199
    
 
 
   
 
 
   
 
 
 
Total provision for (benefit from) income taxes
   $ 31,885     $ (12,636   $ 12,375  
    
 
 
   
 
 
   
 
 
 
Summary of Reconciliation of Effective Income Tax Rate
A reconciliation of the expected tax provision (benefit) at the statutory federal income tax rate to the Company’s recorded tax provision (benefit) consisted of the following (in thousands):

 
 
 
Years Ended December 31,
 
 
 
2021
 
 
2020
 
 
2019
 
Expected tax (benefit) at U.S. federal statutory rate
   $ (102,584   $ (247,596   $ (119,127
State income taxes - net of federal benefit
     (88     500       139  
Foreign tax rate differential
     870       (4,131     25,430  
Research and development tax credits
     (94,591     (26,294     (2,106
Stock-based compensation
     (817,839 )     (194,730     (6,069
Non-deductible
officers’ compensation
     428,682       76,093        
Change in valuation allowance
     616,572       373,632       112,149  
Other
     863       9,890       1,959  
    
 
 
   
 
 
   
 
 
 
Total provision for (benefit from) income taxes
   $ 31,885     $ (12,636   $ 12,375  
    
 
 
   
 
 
   
 
 
 
Summary of Significant Deferred Tax Assets and Liabilities Significant deferred tax assets and liabilities consisted of the following (in thousands):
    
As of December 31,
 
    
2021
    
2020
 
Net operating loss carryforwards
   $ 1,497,774      $ 853,861  
Reserves and accruals
     43,348        55,685  
Tax credit carryforwards
     177,402        68,626  
Stock-based compensation
     212,163        246,380  
Lease liabilities
     59,787        57,543  
Depreciation and amortization
     35,176        28,970  
    
 
 
    
 
 
 
Gross deferred tax assets
     2,025,650        1,311,065  
Right-of-use
assets
     (49,665      (48,120
    
 
 
    
 
 
 
Total net deferred tax assets before valuation allowance
     1,975,985        1,262,945  
Valuation allowance
     (1,977,565      (1,220,093
    
 
 
    
 
 
 
Net deferred tax assets
   $ (1,580    $ 42,852  
    
 
 
    
 
 
 
Summary of Reconciliation of the Gross Unrecognized Tax Benefits
A reconciliation of the gross unrecognized tax benefits consists of the following (in thousands):

 
 
 
Years Ended December 31,
 
 
 
2021
 
 
2020
 
 
2019
 
Unrecognized tax benefit beginning of year
   $ 75,557     $ 31,702      $ 27,812  
Increases in current year tax positions
     19,638       43,855        6,301  
Increases in prior year tax positions
     967       —          114  
Decreases in prior year tax positions
     (30,895     —          (1,829
Decreases in prior year tax positions due to settlements
     (197     —          (696
Decreases in prior year tax positions due to lapse of statute of limitations
     —         —          —    
    
 
 
   
 
 
    
 
 
 
Unrecognized tax benefit end of year
   $     65,070     $     75,557      $     31,702