XML 44 R50.htm IDEA: XBRL DOCUMENT v3.20.1
Business Combinations - Summary of Source of Funds (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 13, 2017
Dec. 31, 2019
Dec. 31, 2017
Dec. 31, 2018
Business Acquisition [Line Items]        
Sale of common stock in a private placement transactions   $ 168 $ 6,000  
Revolving Line of Credit [Member]        
Business Acquisition [Line Items]        
Outstanding borrowings amount   $ 9,500   $ 13,600
Info Trellis Inc [Member]        
Business Acquisition [Line Items]        
Cash balances on hand $ 341      
Sale of common stock in a private placement transactions 6,000      
Payoff of Mastech Digital's previous credit facility (10,091)      
Cash paid at Closing 35,750      
Info Trellis Inc [Member] | Term Loan Debt Facility [Member]        
Business Acquisition [Line Items]        
Outstanding borrowings amount 30,500      
Info Trellis Inc [Member] | Revolving Line of Credit [Member]        
Business Acquisition [Line Items]        
Outstanding borrowings amount $ 9,000