Quarterly report pursuant to Section 13 or 15(d)

Commitments and Contingencies - Narrative (Details)

v3.21.1
Commitments and Contingencies - Narrative (Details)
1 Months Ended 3 Months Ended
Nov. 13, 2020
USD ($)
Mar. 25, 2020
USD ($)
Oct. 31, 2019
lawsuit
Sep. 30, 2019
lawsuit
Aug. 31, 2019
lawsuit
Jun. 30, 2019
lawsuit
Mar. 31, 2021
USD ($)
lawsuit
Mar. 31, 2020
USD ($)
Apr. 01, 2021
USD ($)
Mar. 22, 2021
USD ($)
Dec. 31, 2020
USD ($)
Jan. 21, 2020
USD ($)
Other Commitments [Line Items]                        
Insurance deductible             $ 300,000       $ 100,000  
Insurance aggregate stop loss             5,400,000       5,400,000  
Workers' compensation liability, current             1,799,000       1,941,000  
Workers compensation and auto claims insurance, directors and officers liability             1,000,000.0       1,000,000.0  
Workers compensation and auto claims insurance, directors and officers liability aggregate limit             10,000,000.0       10,000,000.0  
Workers compensation and auto claims insurance, aggregate stop loss per claim basis             200,000          
Workers compensation and auto claims insurance, aggregate stop loss per calendar year             5,800,000          
Insurance reserves             1,200,000       1,300,000  
Warranty accrual             0       0  
Product warranty expense             0 $ 0        
Commitments and contingencies                    
Recovery amount in undisputed claims   $ 61,700,000                    
Revenues             66,804,000 97,383,000        
Bad debt expense             10,125,000 55,000        
Receivables from related parties, net             $ 33,115,000       28,461,000  
Maximum annual contributions per employee, percent             92.00%          
Employer matching contribution, percent of match             3.00%          
Employer discretionary contribution amount             $ 500,000 $ 400,000        
Subsequent Event                        
Other Commitments [Line Items]                        
Contractual obligation                 $ 600,000      
Gulfport | Other Current Assets - Related Party                        
Other Commitments [Line Items]                        
Shares subscribed but unissued, subscriptions receivable             2,200,000          
Outstanding Bid Bond                        
Other Commitments [Line Items]                        
Commitments and contingencies             100,000       1,000,000.0  
Performance And Payment Bond                        
Other Commitments [Line Items]                        
Commitments and contingencies             19,400,000       18,100,000  
Estimated cost to complete the project             $ 2,300,000          
Puerto Rico Municipalities, Failure To Pay Municipal License And Construction Excise Taxes                        
Other Commitments [Line Items]                        
Number of new claims | lawsuit             10          
Western District Of Oklahoma, Federal Securities Lawsuits                        
Other Commitments [Line Items]                        
Number of new claims | lawsuit       2 3 3            
Number of claims dismissed | lawsuit     2                  
September 2019 Derivative Lawsuits                        
Other Commitments [Line Items]                        
Number of new claims | lawsuit       4                
District of Delaware, Federal Securities Lawsuits                        
Other Commitments [Line Items]                        
Number of new claims | lawsuit       2                
Puerto Rico Electric Power Authority (PREPA)                        
Other Commitments [Line Items]                        
Accounts receivable from related parties             $ 227,000,000.0          
Interest charged on accounts receivable             82,900,000       74,300,000  
Mastec Renewables Puerto Rico, LLC                        
Other Commitments [Line Items]                        
Contract amount                       $ 500,000,000
Gulfport                        
Other Commitments [Line Items]                        
Interest charged on accounts receivable $ 3,300,000                   1,400,000  
Due from related parties 46,900,000                   19,400,000  
Litigation liability 1,800,000                   $ 1,800,000  
Unliquidated damages                   $ 46,400,000    
Revenues             (27,100,000)          
Bad debt expense $ 10,000,000.0           (3,800,000)          
Receivables from related parties, net             33,000,000.0          
Gulfport | Pre-Petition Products And Services                        
Other Commitments [Line Items]                        
Receivables from related parties, net             6,100,000          
Gulfport | Pre-Petition Receivables                        
Other Commitments [Line Items]                        
Receivables from related parties, net             500,000          
Gulfport | Stingray Pressure Pumping                        
Other Commitments [Line Items]                        
Interest charged on accounts receivable             1,300,000          
Due from related parties             32,700,000          
Unliquidated damages             37,900,000          
Bad debt expense             $ 2,900,000