Acquisitions - Narrative (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 08, 2019
USD ($)
intangible_assets
Jan. 23, 2018
USD ($)
Sep. 27, 2019
USD ($)
Sep. 28, 2018
USD ($)
Sep. 27, 2019
USD ($)
Sep. 28, 2018
USD ($)
Dec. 31, 2018
USD ($)
Acquired Finite-Lived Intangible Assets [Line Items]              
Acquisition of business, net of cash acquired         $ 43,963 $ 36,855  
Working capital adjustments   $ 900          
Weighted-average remaining useful life         4 years    
Amortization of intangible assets     $ 800 $ 600 $ 2,103 1,468  
Goodwill     260,872   260,872   $ 233,619
Consideration transferred   36,000          
Advantor              
Acquired Finite-Lived Intangible Assets [Line Items]              
Acquisition of business, net of cash acquired $ 44,000            
Working capital adjustments $ 300            
Number of intangible assets acquired | intangible_assets 2            
Intangible assets $ 1,100            
Weighted-average remaining useful life 4 years 8 months 12 days            
Amortization of intangible assets     400   400    
Goodwill $ 27,253            
Acquisition-related costs         1,000    
Advantor revenue     $ 10,200 $ 8,400 $ 10,200 $ 24,100  
Advantor | Backlog              
Acquired Finite-Lived Intangible Assets [Line Items]              
Intangible assets $ 7,200            
Amortization period 5 years            
Advantor | Trade Name              
Acquired Finite-Lived Intangible Assets [Line Items]              
Intangible assets $ 1,100            
Amortization period 4 years 6 months            
SENTEL              
Acquired Finite-Lived Intangible Assets [Line Items]              
Acquisition of business, net of cash acquired   36,900          
Goodwill   $ 16,689          
Percentage of outstanding common stock acquired   100.00%          
SENTEL | Backlog              
Acquired Finite-Lived Intangible Assets [Line Items]              
Intangible assets   $ 6,500          
Amortization period   4 years          
SENTEL | Re-competes              
Acquired Finite-Lived Intangible Assets [Line Items]              
Intangible assets   $ 4,000          
Amortization period   8 years