v3.10.0.1
Business Acquisitions - Additional Information (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 12, 2018
USD ($)
May 31, 2018
USD ($)
earn-out_payment
Jan. 09, 2018
USD ($)
earn-out_payment
Sep. 29, 2018
USD ($)
Sep. 30, 2017
USD ($)
Sep. 29, 2018
USD ($)
Sep. 30, 2017
USD ($)
Dec. 30, 2017
USD ($)
Business Acquisition [Line Items]                
Goodwill       $ 68,441   $ 68,441   $ 60,281
Discrete tax benefit       $ 977 $ 647 $ 2,592 $ 1,503  
Town & Country Resources, Inc.                
Business Acquisition [Line Items]                
Potential consideration transferred     $ 7,000          
Cash consideration     $ 5,000          
Number of earn-out payments | earn-out_payment     2          
First earn-out payment     $ 1,000          
Second earn-out payment     1,000          
Contingent consideration     1,000          
Consideration transferred     6,000          
Goodwill     4,800          
Proprietary software     $ 1,200          
Galore, Inc.                
Business Acquisition [Line Items]                
Potential consideration transferred   $ 300            
Number of earn-out payments | earn-out_payment   2            
Proprietary software   $ 300            
Trusted Labs, Inc.                
Business Acquisition [Line Items]                
Potential consideration transferred $ 8,100              
Cash consideration 4,600              
First earn-out payment 1,000              
Contingent consideration 1,000              
Consideration transferred 5,600              
Goodwill 3,400              
Proprietary software 2,500              
Retention payment 2,200              
Payment to settle liabilities 300              
Working capital liabilities 300              
Discrete tax benefit $ 600              
Minimum | Galore, Inc.                
Business Acquisition [Line Items]                
First earn-out payment   300            
Second earn-out payment   700            
Maximum | Galore, Inc.                
Business Acquisition [Line Items]                
First earn-out payment   500            
Second earn-out payment   $ 900