Quarterly report pursuant to Section 13 or 15(d)

Commitments and Contingencies - Narrative (Details)

v3.22.1
Commitments and Contingencies - Narrative (Details) - USD ($)
3 Months Ended
Dec. 01, 2022
Aug. 01, 2022
Aug. 02, 2021
May 13, 2021
Mar. 25, 2020
Mar. 31, 2022
Sep. 30, 2021
Mar. 31, 2021
Dec. 31, 2021
Sep. 21, 2021
May 26, 2021
Dec. 31, 2020
Nov. 13, 2020
Jan. 21, 2020
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,200,000     1,400,000          
Workers compensation and auto claims insurance, directors and officers liability           1,000,000     1,000,000          
Workers compensation and auto claims insurance, directors and officers liability aggregate limit           10,000,000     10,000,000          
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,600,000          
Warranty accrual, term           1 year                
Warranty accrual           $ 0     0          
Product warranty expense           0   $ 0            
Commitments and contingencies                        
Recovery amount in undisputed claims         $ 61,700,000                  
Revenues           62,298,000   66,804,000            
Bad debt (recoveries) expense           (99,000)   10,125,000            
Receivables from related parties, net           313,000     88,000          
Contract amount     $ 100,000,000                      
Legal settlement, amount     $ 6,500,000                      
Contracts receivable, claims and uncertain amounts, expected to be collected, term     10 days                      
Accrued legal settlement           $ 19,334,000     18,966,000          
Maximum annual contributions per employee, percent           92.00%                
Employer matching contribution, percent of match           3.00%                
Employer discretionary contribution amount           $ 400,000   500,000            
Capital Addition Purchase Commitments                            
Other Commitments [Line Items]                            
Future minimum payments           2,800,000                
Accounts Payable and Accrued Liabilities                            
Other Commitments [Line Items]                            
Accrued legal settlement           19,300,000                
Forecast                            
Other Commitments [Line Items]                            
Legal settlement, amount $ 9,250,000 $ 9,250,000                        
Minimum                            
Other Commitments [Line Items]                            
Litigation settlement, interest-bearing, interest rate     6.00%                      
Maximum                            
Other Commitments [Line Items]                            
Litigation settlement, interest-bearing, interest rate     12.00%                      
Outstanding Bid Bond                            
Other Commitments [Line Items]                            
Commitments and contingencies           0     600,000          
Performance And Payment Bond                            
Other Commitments [Line Items]                            
Commitments and contingencies           13,800,000     20,300,000          
Estimated cost to complete the project           7,700,000                
Puerto Rico Electric Power Authority (PREPA)                            
Other Commitments [Line Items]                            
Accounts receivable from related parties           227,000,000                
Interest charged on accounts receivable           120,700,000     $ 110,800,000          
Accounts receivable, contract costs, amount expected to be authorized                     $ 47,000,000      
Mastec Renewables Puerto Rico, LLC                            
Other Commitments [Line Items]                            
Contract amount                           $ 500,000,000
Gulfport                            
Other Commitments [Line Items]                            
Bad debt (recoveries) expense               10,000,000            
Gulfport | Gulfport                            
Other Commitments [Line Items]                            
Interest charged on accounts receivable                       $ 1,400,000 $ 3,300,000  
Due from related parties                       19,400,000 46,900,000  
Litigation liability                       $ 1,800,000 $ 1,800,000  
Unliquidated damages               46,400,000            
Revenues               27,100,000            
Bad debt (recoveries) expense               3,800,000            
Gain from litigation settlement           $ 300,000                
Gulfport | Gulfport | Pre-Petition Products And Services                            
Other Commitments [Line Items]                            
Receivables from related parties, net               6,100,000            
Gulfport | Gulfport | Pre-Petition Receivables                            
Other Commitments [Line Items]                            
Receivables from related parties, net               500,000            
Gulfport | Stingray Pressure Pumping                            
Other Commitments [Line Items]                            
Unliquidated damages               37,900,000            
Bad debt (recoveries) expense             $ 31,000,000 $ 2,900,000            
Other expenses             1,300,000              
Gulfport | Muskie and Gulfport                            
Other Commitments [Line Items]                            
Bad debt (recoveries) expense             $ 200,000              
General unsecured claim                   $ 3,100,000        
Foreman Electric Services, Inc.                            
Other Commitments [Line Items]                            
Loss contingency, damages awarded, value       $ 250,000,000