XML 65 R54.htm IDEA: XBRL DOCUMENT v3.20.2
Business Acquisitions - Additional Information (Details) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended
Apr. 30, 2020
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Apr. 30, 2019
Business Acquisition [Line Items]            
External transaction costs related to business combinations   $ 2,454,000 $ 857,000 $ 3,761,000 $ 1,072,000  
Revenue     1,600,000   1,600,000  
Pre-tax income (loss)     $ 800,000   $ 800,000  
Customer Relationships            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets         10 years  
Trade Names            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets         1 year 6 months  
Covenants Not to Compete            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets         4 years  
Proprietary Software            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets         3 years  
CTEH            
Business Acquisition [Line Items]            
Number of common stock shares issued in connection with business acquisition   791,139   791,139    
Percentage of interests acquired 100.00%          
Revenue   $ 14,600,000   $ 14,600,000    
Pre-tax income (loss)   $ 1,200,000   $ 1,200,000    
CTEH | External Proprietary Software            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets 5 years          
CTEH | Customer Relationships            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets 15 years          
CTEH | Trade Names            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets 5 years          
CTEH | Covenants Not to Compete            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets 5 years          
CTEH | Proprietary Software            
Business Acquisition [Line Items]            
Weighted average useful lives for acquired intangible assets 3 years          
CTEH | 2020 Earn Out            
Business Acquisition [Line Items]            
Business combination, contingent consideration arrangements, basis for amount       The first year earnout is to be calculated at twelve times CTEH’s 2020 EBITDA (as defined in the purchase agreement) in excess of $18.3 million, with a maximum first year earn-out payment of $50.0 million.    
Business combination, contingent consideration arrangements, description       The 2020 earn out was initially payable 100% in common stock, but as a result of the completion of the Company’s IPO (Note 23), 50% of any 2020 earnout payment will be payable in cash and 50% will be payable, at the Company’s election, in cash or shares of common stock.    
Business combination, minimum EBITDA for contingent consideration arrangements $ 18,300,000          
Business combination, earn-out payment, maximum $ 50,000,000          
Percentage of earn out payable in common stock 100.00%          
Percentage of earn out payable in cash, as result of completing of IPO 50.00%          
Percentage of earn out payable in cash or shares, as a result of completion of IPO, at company's election 50.00%          
CTEH | 2021 Earn Out            
Business Acquisition [Line Items]            
Business combination, contingent consideration arrangements, basis for amount       The second year earn-out is to be calculated at ten times CTEH’s 2021 EBITDA in excess of actual 2020 EBITDA (with actual 2020 EBITDA subject to a minimum of $18.3 million and a maximum of $22.5 million), with a maximum second year earn-out payment of $30.0 million.    
Business combination, contingent consideration arrangements, description       The 2021 earn out, if any, is payable 100% in cash. The current portion of the contingent consideration is recorded in accounts payable and other accrued liabilities. The long term portion of the contingent consideration is recorded in other non-current liabilities.    
Business combination, earn-out payment, maximum $ 30,000,000          
Percentage of earn out payable in cash 100.00%          
CTEH | Minimum | 2020 Earn Out            
Business Acquisition [Line Items]            
Business combination, actual EBITDA $ 18,300,000          
CTEH | Maximum [Member] | 2020 Earn Out            
Business Acquisition [Line Items]            
Business combination, actual EBITDA $ 22,500,000          
CTEH | Convertible And Redeemable Series A-2 Preferred Stock            
Business Acquisition [Line Items]            
Number of common stock shares issued in connection with business acquisition         791,139  
TES            
Business Acquisition [Line Items]            
Percentage of interests acquired           100.00%
TESUS            
Business Acquisition [Line Items]            
Percentage of interests acquired           100.00%
AWS            
Business Acquisition [Line Items]            
Percentage of interests acquired     100.00%   100.00%