v3.19.3.a.u2
Income Taxes - Other (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Components of loss before income taxes                      
United States                 $ (239,629) $ (33,339) $ (25,002)
Foreign                 (15,453) (9,858) (5,718)
Loss before income taxes $ (45,526) $ (140,398) $ (46,663) $ (22,495) $ 5,172 $ (10,358) $ (21,912) $ (16,099) $ (255,082) $ (43,197) $ (30,720)
Reconciliation between statutory federal income tax rate and the effective tax rate                      
U.S. statutory federal income tax rate                 21.00% 21.00% 35.00%
U.S. state income taxes, net of federal benefits                 4.20% 0.90% 9.90%
Foreign tax rate differential                 0.20% 1.10% (1.40%)
Non-deductible expenses                 (1.10%) (2.60%) (1.80%)
Stock-based compensation                 0.50% 30.00% 40.90%
Change in valuation allowance                 (10.90%) (39.30%) 29.80%
Change in tax rate                 0.00% (0.10%) (108.00%)
Non-deductible impairment                 (5.80%) 0.00% 0.00%
Other                 (0.30%) 0.30% (0.20%)
Effective tax rate                 7.80% 11.30% 4.20%
Deferred tax assets:                      
Accrued expenses and other 3,037       2,580       $ 3,037 $ 2,580  
Accrued compensation and related benefits 2,779       3,395       2,779 3,395  
Rebate reserve 0       5       0 5  
Deferred rent 7,543       6,388       7,543 6,388  
Stock-based compensation 14,546       8,279       14,546 8,279  
Deferred income 345       257       345 257  
Interest expense carryforwards 2,059       0       2,059 0  
Foreign net operating loss carryforwards 3,171       1,543       3,171 1,543  
U.S. net operating loss carryforwards 164,854       96,809       164,854 96,809  
Valuation allowance (116,244)       (88,061)       (116,244) (88,061)  
Total deferred tax assets 82,090       31,195       82,090 31,195  
Deferred tax liabilities:                      
Prepaid expenses and other (142)       (95)       (142) (95)  
Property and equipment (3,056)       (4,038)       (3,056) (4,038)  
Intangibles (84,025)       (34,011)       (84,025) (34,011)  
Total deferred tax liabilities (87,223)       (38,144)       (87,223) (38,144)  
Net deferred tax liabilities $ (5,133)       $ (6,949)       $ (5,133) $ (6,949)