Quarterly report pursuant to Section 13 or 15(d)

Income Taxes (Details)

v3.7.0.1
Income Taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Income tax provision and the effective tax rate        
Loss before income tax provision (benefit) $ (1,626) $ (11,161) $ (10,463) $ (27,870)
Income tax provision (benefit) $ 4,844 $ (3,218) $ 9,142 $ (8,934)
Effective tax rate (as a percent) (297.90%) 28.80% (87.40%) 32.10%