Quarterly report pursuant to Section 13 or 15(d)

Income Taxes (Details)

v3.10.0.1
Income Taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Jan. 01, 2018
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]          
Effective tax rate     32.10%    
Income tax provision (benefit) $ 4,574 $ (138) $ 6,746 $ (977)  
Pre-tax income (loss) 13,884 $ 1,187 21,520 $ (3,331)  
Accounting Standards Update 2014-09 | Effects of Change Higher/(Lower)          
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]          
Income tax provision (benefit) 135   1,786    
Pre-tax income (loss) $ 4,081   $ 7,458    
Net deferred tax liability         $ 3,600
Valuation allowance         3,592
Offsetting State Net Operating Losses | Accounting Standards Update 2014-09 | Effects of Change Higher/(Lower)          
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]          
Valuation allowance         $ 1,929