Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation Plan (Narrative) (Details)

v3.8.0.1
Stock-Based Compensation Plan (Narrative) (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 01, 2017
Jul. 01, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Maximum number of shares of common stock that may be granted through awards to any employee in any calendar year     500    
Number of shares authorized under the plan     6,153    
Annual automatic increase in shares authorized under the plan, percentage     5.00%    
Stock options granted fair value     $ 1,020 $ 299 $ 320
Fair value of the restricted stock awards granted $ 1,995 $ 105      
Allocated Share-based Compensation Expense     1,181 227 1,094
Unrecognized compensation cost related to unvested stock options     $ 988    
Unvested stock options     367    
Unrecognized compensation cost related to unvested restricted stock awards     $ 1,391    
Intrinsic value of options exercised and restricted stock awards vested     28 18 474
Fair value of shares vested     $ 1,123 $ 938 $ 5,490
Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of stock options issued under a plan     463    
Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Unvested restricted stock awards     850 370  
Restricted stock awards granted in period     500    
2015 Plan [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Restricted stock awards granted in period   100      
Threshold share price   $ 15.00      
Threshold share price period for vesting condition   20 days      
Vest In Four Equal Consecutive Quarterly Tranches From The Date Of Grant | 2015 Plan [Member] | Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of stock options issued under a plan     363 163 103
Unvested stock options     38    
Vesting Immediately [Member] | 2005 Plan [Member] | Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of stock options issued under a plan         90
Vesting Immediately [Member] | 2015 Plan [Member] | Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of stock options issued under a plan     100    
Exercise Price Range One [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share Price $ 6.10        
Unvested restricted stock awards 250        
Stock Price Target $ 10.00        
Exercise Price Range Two [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share Price $ 6.10        
Unvested restricted stock awards 250        
Stock Price Target $ 12.00        
Exercise Price Range Three [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share Price   $ 4.38      
Unvested restricted stock awards   100      
Stock Price Target   $ 15.00