Quarterly report pursuant to Section 13 or 15(d)

Income Taxes (Details)

v3.8.0.1
Income Taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Income tax provision and the effective tax rate        
Income (loss) before income tax provision (benefit) $ 362 $ (5,725) $ (10,101) $ (33,595)
Income tax provision (benefit) $ 1,682 $ (1,668) $ 10,824 $ (10,602)
Effective tax rate (as a percent) 464.60% 29.10% (107.20%) 31.60%