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
Mar. 31, 2018
Mar. 31, 2017
Jan. 01, 2018
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]      
Effective tax rate 30.40%    
Income tax provision (benefit) $ 2,172 $ (839)  
Pre-tax income (loss) 7,636 $ (4,518)  
Accounting Standards Update 2014-09 | Effects of Change Higher/(Lower)      
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]      
Income tax provision (benefit) 1,651    
Pre-tax income (loss) $ 3,378    
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