Income Taxes - Components of Net Income (Loss) (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
Income Tax Disclosure [Abstract] | |||
Domestic | $ (159,429) | $ (139,568) | $ (118,331) |
Foreign | 0 | 0 | (2,256) |
Loss before income taxes | $ (159,429) | $ (139,568) | $ (120,587) |