XML 51 R36.htm IDEA: XBRL DOCUMENT v3.8.0.1
Preferred Stock, Common Stock and Stockholders' Equity - Employee Stock Purchase Plan and Stock-Based Compensation - Additional Information (Detail) - USD ($)
12 Months Ended
Jan. 01, 2018
May 03, 2017
Jun. 13, 2013
Dec. 31, 2017
Dec. 31, 2016
May 02, 2017
Stock-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Unrecognized compensation costs       $ 1,700,000    
Weighted average period       1 year 1 month 17 days    
Common stock reserved for issuance       5,093,920 5,265,764  
Shares of common stock available for future issuance under ESPP       91,934 37,463  
Stock issued during period, shares, period increase       220,000    
Issuance of common stock under employee stock purchase plan       75,529 34,067  
Payroll withholdings from employees       $ 135,000 $ 99,000  
Amended and Restated ESPP [Member]            
Stock-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Common stock reserved for issuance   1,250,000        
Increase in number of shares of common stock reserved under the plan   100,000        
Number of shares increased annually to common stock shares reserved for issuance   100,000       30,000
Award plan expiration year   2027        
Employee stock purchase plan [Member]            
Stock-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Purchase price of common stock as percentage of fair market value     85.00%      
Percentage of deduction of eligible compensation     20.00%      
Common stock reserved for issuance     30,000      
Shares of common stock available for issuance description       In addition, the number of shares of common stock available for issuance under the ESPP has been annually increased on the first day of each fiscal year during the term of the ESPP by an amount equal to the lesser of: (i) 30,000 shares; (ii) one percent of the outstanding shares of common stock as of the last day of the immediately preceding fiscal year; or (iii) such other amount as the Company’s board of directors may determine.    
Reserve percentage for issuance of shares     1.00%      
ESPP approval date     Aug. 29, 2013      
Subsequent Event [Member] | Employee stock purchase plan [Member]            
Stock-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Common stock reserved for issuance 191,934          
Stock issued during period, shares, period increase 100,000