Annual report pursuant to Section 13 and 15(d)

Income Taxes - Income before Income Tax (Details)

v3.8.0.1
Income Taxes - Income before Income Tax (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Income Tax Disclosure [Abstract]                      
United States                 $ (119,549) $ (9,949) $ (51,809)
Foreign                 (38,294) 9,444 5,189
Loss before income taxes $ (90,458) $ (30,709) $ (37,424) $ 748 $ (4,061) $ (6,637) $ 14,310 $ (4,117) $ (157,843) $ (505) $ (46,620)