Consolidated Statement of Stockholders' Equity (Unaudited) - 6 months ended Jun. 30, 2018 - USD ($)
$ in Thousands
Total
Common Stock
Treasury Stock
Additional Paid-In Capital
Retained Earnings
Common stock, shares at beginning of period (in shares) at Dec. 31, 2017   30,768,050      
Stockholders' equity at beginning of period at Dec. 31, 2017 $ 358,872 $ 3 $ (69,818) $ 337,445 $ 91,242
Treasury stock, shares at beginning of period (in shares) at Dec. 31, 2017 (3,526,870)   (3,526,870)    
Increase in stockholders' equity:          
Share compensation expense $ 4,562     4,562  
Exercise of stock options (in shares)   325,342      
Exercise of stock options 3,561 $ 0   3,561  
Common stock issued for vested restricted stock (in shares)   205,723      
Common stock issued for vested restricted stock 0 $ 0   0  
Common stock issued for vested performance shares (in shares)   26,567      
Common stock issued for vested performance shares 0 $ 0   0  
Common shares withheld and retired to satisfy employee tax withholding obligations upon vesting of share-based awards (in shares)   (82,217)      
Common shares withheld and retired to satisfy employee tax withholding obligations upon vesting of share-based awards (2,318) $ 0   (2,318)  
Net income 12,405       12,405
Common stock, shares at end of period (in shares) at Jun. 30, 2018   31,243,465      
Stockholders' equity at end of period at Jun. 30, 2018 $ 378,218 $ 3 $ (69,818) $ 343,249 104,783
Treasury stock, shares at end of period (in shares) at Jun. 30, 2018 (3,526,870)   (3,526,870)    
Increase in stockholders' equity:          
Cumulative effect of accounting change $ 1,136       $ 1,136