Consolidated Statements of Shareholders' Equity - USD ($)
$ in Thousands
Total
Common Stock [Member]
Additional Paid-in Capital [Member]
Accumulated Other Comprehensive Loss [Member]
Accumulated Deficit [Member]
Treasury Stock [Member]
Beginning Balance at Dec. 28, 2013 $ 49,075 $ 489 $ 229,269 $ (2,223) $ (168,414) $ (10,046)
Beginning Balance, Shares at Dec. 28, 2013   46,871,197        
Vesting of restricted stock, Shares   22,581,000        
Purchases of treasury stock (1,025)         (1,025)
Purchases of treasury stock, Shares   (93,081)        
Stock-based compensation 1,214   1,214      
Exercise of stock options $ 1,691 $ 9 1,682      
Exercise of stock options, Shares 906,573 906,573        
Tax benefit on exercised stock options $ 6,064   6,064      
Comprehensive income (loss), net of tax effect 552     552    
Net income 16,405       16,405  
Ending Balance at Jan. 03, 2015 73,976 $ 498 238,229 (1,671) (152,009) (11,071)
Ending Balance, Shares at Jan. 03, 2015   47,707,270        
Grants of restricted stock   $ 3 (3)      
Vesting of restricted stock, Shares   69,161,000        
Purchases of treasury stock (44)         (44)
Purchases of treasury stock, Shares   (3,746)        
Retirement of treasury stock     (1,078)     1,078
Stock-based compensation 1,774   1,774      
Exercise of stock options $ 2,192 $ 10 2,182      
Exercise of stock options, Shares 1,033,750 1,033,750        
Tax benefit on exercised stock options $ 3,840   3,840      
Comprehensive income (loss), net of tax effect 1,671     $ 1,671    
Net income 23,552       23,552  
Ending Balance at Jan. 02, 2016 $ 106,961 $ 511 244,944   (128,457) (10,037)
Ending Balance, Shares at Jan. 02, 2016 51,146,000 48,806,435        
Grants of restricted stock   $ 3 (3)      
Vesting of restricted stock, Shares   128,590,000        
Forfeitures of restricted stock   $ (1) 1      
Purchases of treasury stock $ (2,847)         (2,847)
Purchases of treasury stock, Shares (299,988) (299,988)        
Retirement of treasury stock     (125)     125
Stock-based compensation $ 1,769   1,769      
Exercise of stock options $ 981 $ 6 975      
Exercise of stock options, Shares 537,364 537,364        
Common stock issued under Employee Stock Purchase Plan $ 36   36      
Common stock issued under Employee Stock Purchase Plan, Shares   3,748        
Tax benefit on exercised stock options 1,872   1,872      
Net income 23,747       23,747  
Ending Balance at Dec. 31, 2016 $ 132,519 $ 519 $ 249,469   $ (104,710) $ (12,759)
Ending Balance, Shares at Dec. 31, 2016 51,887,000 49,176,149