Annual report pursuant to Section 13 and 15(d)

Income Taxes - Income before Income Tax (Details)

v3.19.1
Income Taxes - Income before Income Tax (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Income Tax Disclosure [Abstract]                      
United States                 $ (239,989) $ (336,278) $ (119,549)
Foreign                 6,458 (25,723) (38,294)
Loss before income taxes $ (107,974) $ (40,376) $ (42,188) $ (42,993) $ (150,285) $ (48,815) $ (40,106) $ (122,795) $ (233,531) $ (362,001) $ (157,843)