v3.19.3.a.u2
Income Taxes - Summary of Significant Components of Net Deferred Tax Balances (Details) - USD ($)
$ in Thousands
Dec. 31, 2019
Dec. 31, 2018
Deferred tax assets:    
Accrued expenses $ 31,746 $ 21,056
Intangible assets 172,228 140,494
Stock-based compensation 134,489 254,255
Loss carryforwards 1,201,569 849,224
Tax credit carryforwards 337,497 235,300
Property and equipment   203
Lease liability 84,154  
Other 2,485 1,298
Total deferred tax assets 1,964,168 1,501,830
Deferred tax liabilities:    
Property and equipment (1,420)  
Convertible debt (87,904)  
Right-of-use asset (63,595)  
Total deferred tax liabilities (152,919)  
Total net deferred tax assets before valuation allowance 1,811,249 1,501,830
Valuation allowance (1,811,666) (1,502,346)
Net deferred taxes $ (417) $ (516)