XML 63 R48.htm IDEA: XBRL DOCUMENT v3.20.4
Business Combinations - Additional Information (Detail) - USD ($)
3 Months Ended 12 Months Ended
Oct. 01, 2020
Dec. 31, 2020
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Business Acquisition [Line Items]                        
Credit agreement provides for total aggregate commitment $ 15,000,000                      
Revenues   $ 48,710,000 $ 47,383,000 $ 47,583,000 $ 50,425,000 $ 50,360,000 $ 49,543,000 $ 48,472,000 $ 45,199,000 $ 194,101,000 $ 193,574,000 $ 177,164,000
Net income (loss)   $ 2,025,000 $ 2,998,000 $ 2,969,000 $ 1,869,000 $ 2,274,000 $ 1,949,000 $ 5,958,000 $ 964,000 9,861,000 $ 11,145,000 $ 6,691,000
Revolving Line of Credit [Member]                        
Business Acquisition [Line Items]                        
Credit agreement provides for total aggregate commitment 30,000,000                      
Term Loan Facility [Member]                        
Business Acquisition [Line Items]                        
Credit agreement provides for total aggregate commitment 17,500,000                      
Maximum [Member] | Revolving Line of Credit [Member]                        
Business Acquisition [Line Items]                        
Increase in Credit Facility 7,500,000                      
Maximum [Member] | Term Loan Facility [Member]                        
Business Acquisition [Line Items]                        
Increase in Credit Facility $ 10,000,000                      
Amber Leaf Partners Inc [Member]                        
Business Acquisition [Line Items]                        
Business acquisition, description On October 1, 2020, Mastech Digital, Inc., through its wholly-owned subsidiary Mastech Digital Data, Inc., acquired all of the outstanding shares of AmberLeaf Partners, Inc. (“AmberLeaf”). Under the terms of the Share Purchase Agreement executed in connection with the AmberLeaf acquisition (the “Purchase Agreement”),                      
Cash consideration $ 9,664,000                      
Contingent consideration in deferred cash payments $ 4,500,000                      
Transaction costs related to acquisition                   650,000    
Write off of Deferred Finance Costs                   185,000    
Revenues                   2,400,000    
Net income (loss)                   $ (400,000)