Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation Plan (Narrative) (Details)

v3.7.0.1
Stock-Based Compensation Plan (Narrative) (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jul. 01, 2016
Aug. 11, 2014
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
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     5,615    
Annual automatic increase in shares authorized under the plan, percentage     5.00%    
Number of stock options issued under a plan     163    
Stock options granted fair value     $ 299 $ 320 $ 2,747
Fair value of the restricted stock awards granted $ 105 $ 923      
Allocated Share-based Compensation Expense     227 $ 1,094 $ 1,435
Unrecognized compensation cost related to unvested stock options     $ 615    
Unvested restricted stock awards     370    
Unvested stock options     271    
Unrecognized compensation cost related to unvested restricted stock awards     $ 97    
Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of stock options issued under a plan     163    
Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Unvested restricted stock awards     370 310  
Restricted stock awards granted in period     100    
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 529
2005 Plan [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Restricted stock awards granted in period   300      
2015 Plan [Member] | Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of stock options issued under a plan     163 103  
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        
Restricted Stock Vesting Schedule One [Member] | 2005 Plan [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Restricted stock awards granted in period   50      
Restricted Stock Vesting Schedule Two [Member] | 2005 Plan [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Restricted stock awards granted in period   205      
Restricted Stock Vesting Schedule Three [Member] | 2005 Plan [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Restricted stock awards granted in period   15      
Installment Schedule One [Member] | 2005 Plan [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Restricted stock awards granted in period   45      
Threshold share price   $ 15.00      
Threshold share price period for vesting condition   5 days      
Installment Schedule Two [Member] | 2005 Plan [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Restricted stock awards granted in period   80      
Threshold share price   $ 20.00      
Threshold share price period for vesting condition   5 days      
Installment Schedule Three [Member] | 2005 Plan [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Restricted stock awards granted in period   80      
Threshold share price   $ 22.00      
Threshold share price period for vesting condition   5 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]          
Unvested stock options     38    
Vesting In Three Installments [Member] | 2015 Plan [Member] | Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Unvested stock options     125    
Vesting On June 30, 2017 [Member] | 2015 Plan [Member] | Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Unvested stock options     42    
Exercise Price Range One [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share Price $ 4.38        
Unvested restricted stock awards 100        
Exercise Price Range Two [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share Price   $ 8.87      
Unvested restricted stock awards   45      
Exercise Price Range Three [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share Price   $ 8.87      
Unvested restricted stock awards   80      
Exercise Price Range Four [Member] | Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share Price   $ 8.87      
Unvested restricted stock awards   80