XML 86 R70.htm IDEA: XBRL DOCUMENT
v3.23.1

Commitments and Contingencies - Narrative (Details) $ in Thousands |  | 1 Months Ended | 3 Months Ended |
--- | --- | --- | --- | ---
Apr. 28, 2023 USD ($) | Mar. 31, 2021 USD ($) | Mar. 31, 2023 USD ($) constructionProject customer | Mar. 31, 2022 | Dec. 31, 2022 USD ($)
Loss Contingencies [Line Items] |  |  |  |  |
Line of credit facility, letters of credit issued |  |  | $ 162,900 |  | $ 166,700
Number of joint ventures | constructionProject |  |  | 4 |  |
Cash and cash equivalents |  |  | $ 141,560 |  | 370,592
Indemnities, accrued project close-out liabilities |  |  | $ 40,000 |  | 40,000
Number of customers | customer |  |  | 995 |  |
Pension | IEA |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Withdrawal liability |  |  | $ 1,900 |  | 1,900
Workers' Compensation, General and Automobile Policies | Self-Insurance |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Self-insurance reserve |  |  | 190,100 |  | 176,700
Workers' Compensation, General and Automobile Policies | Self-Insurance | Other Long-Term Liabilities |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Self-insurance reserve, non-current |  |  | 118,800 |  | 109,300
Employee Group Medical Claims | Self-Insurance |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Self-insurance reserve |  |  | 4,300 |  | 4,100
Corporate Joint Venture |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Cash and cash equivalents |  |  | $ 16,700 |  | 25,700
Corporate Joint Venture | Joint Ventures That Provide Electrical Transmission Infrastructure Services | Minimum |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Proportionately consolidated non-controlled joint venture, ownership percentage |  |  | 85.00% |  |
Corporate Joint Venture | Joint Ventures That Provide Electrical Transmission Infrastructure Services | Maximum |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Proportionately consolidated non-controlled joint venture, ownership percentage |  |  | 90.00% |  |
Corporate Joint Venture | Joint Venture Civil Construction Project | Minimum |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Proportionately consolidated non-controlled joint venture, ownership percentage |  |  | 25.00% |  |
Corporate Joint Venture | Joint Venture Civil Construction Project | Maximum |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Proportionately consolidated non-controlled joint venture, ownership percentage |  |  | 50.00% |  |
Contractual Joint Venture |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Payments for project financing |  |  | $ 300 |  |
Captive Insurance Company |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Cash and cash equivalents |  |  | 900 |  | 1,100
Performance and Payment Bonds |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Bonded projects, estimated costs to complete |  |  | 1,942,200 |  | 1,739,900
Commercial and/or Financial Standby | Workers' Compensation, General and Automobile Policies | Self-Insurance |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Line of credit facility, letters of credit issued |  |  | 95,600 |  | 95,600
Surety Bonds | Workers' Compensation | Self-Insurance |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Guarantor obligations, maximum exposure, undiscounted |  |  | 110,900 |  | 110,900
Subsidiaries | Performance and Payment Bonds |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Guarantor obligations, maximum exposure, undiscounted |  |  | 5,374,000 |  | 4,855,500
Subsidiaries | Performance and Payment Bonds | Corporate Joint Venture |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Guarantor obligations, maximum exposure, undiscounted |  |  | $ 254,500 |  | $ 115,800
Revenue Benchmark | Customer Concentration Risk | Ten Largest Customers |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Concentration risk, percentage of total |  |  | 39.00% | 42.00% |
Infrastructure Energy Alternatives, Inc. | Pension |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Multiemployer plans, withdrawal obligation, monthly payment amount |  |  | $ 10 |  |
Silicon Ranch Corporation, LLC | Subsequent Event | Litigation Settlement, Benchmark | Commitments And Contingencies Concentration Risk |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Concentration risk, percentage of total | 30.00% |  |  |  |
Infrastructure Energy Alternatives, Inc. And IEA Constructors, LLC | Subsequent Event | Litigation Settlement, Benchmark | Commitments And Contingencies Concentration Risk |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Concentration risk, percentage of total | 70.00% |  |  |  |
Silicon Ranch Corporation, LLC Matter | H&L Farms |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Payments to acquire land |  | $ 3,300 |  |  |
Silicon Ranch Corporation, LLC Matter | Infrastructure Energy Alternatives, Inc. | Subsequent Event |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Compensatory damages awarded to plaintiffs | $ 4,500 |  |  |  |
Remediation costs | 1,500 |  |  |  |
Silicon Ranch Corporation, LLC Matter | Silicon Ranch Corporation, LLC | Subsequent Event |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Punitive damages | 25,000 |  |  |  |
Silicon Ranch Corporation, LLC Matter | Infrastructure Energy Alternatives, Inc. And IEA Constructors, LLC | Subsequent Event |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Punitive damages | 50,000 |  |  |  |
Silicon Ranch Corporation, LLC Matter | IEA Constructors, LLC | Subsequent Event |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |
Insurance policy limit | $ 10,000 |  |  |  |

X
- Definition Environmental Remediation, Insurance Policy, Limit + References No definition available. + Details
Name: | mtz_EnvironmentalRemediationInsurancePolicyLimit
Namespace Prefix: | mtz_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Reflects the amount of estimated costs to complete projects that are secured by outstanding performance and/or payment bonds as of the balance sheet date. + References No definition available. + Details
Name: | mtz_EstimatedCostsToCompleteProjectsSecuredByBonds
Namespace Prefix: | mtz_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Multiemployer Plans, Withdrawal Obligation, Monthly Payment Amount + References No definition available. + Details
Name: | mtz_MultiemployerPlansWithdrawalObligationMonthlyPaymentAmount
Namespace Prefix: | mtz_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of customers. + References No definition available. + Details
Name: | mtz_NumberOfCustomers
Namespace Prefix: | mtz_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of joint ventures in which the Company has an interest. + References No definition available. + Details
Name: | mtz_NumberOfJointVentures
Namespace Prefix: | mtz_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Payments For Other Project Related Financing + References No definition available. + Details
Name: | mtz_PaymentsForOtherProjectRelatedFinancing
Namespace Prefix: | mtz_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The percentage interest in a proportionately consolidated joint venture. + References No definition available. + Details
Name: | mtz_ProportionatelyConsolidatedJointVentureOwnershipPercentage
Namespace Prefix: | mtz_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The charge against earnings in the period for known or estimated future costs arising from requirements to perform environmental remediation activities. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 55 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=6571209&loc=d3e13644-110860 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=109237650&loc=d3e13064-110858 Reference 3: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 50 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=6393242&loc=d3e13296-110859 + Details
Name: | us-gaap_EnvironmentalRemediationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Maximum potential amount of future payments (undiscounted) the guarantor could be required to make under the guarantee or each group of similar guarantees before reduction for potential recoveries under recourse or collateralization provisions. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248 + Details
Name: | us-gaap_GuaranteeObligationsMaximumExposure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount awarded to other party in judgment or settlement of litigation. + References No definition available. + Details
Name: | us-gaap_LitigationSettlementAmountAwardedToOtherParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of loss contingency liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349 + Details
Name: | us-gaap_LossContingencyAccrualAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of damages awarded to the plaintiff in the legal matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyDamagesAwardedValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of the obligation recognized by withdrawing from a pension or postretirement benefit plan to which two or more unrelated employers contribute where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers. + References No definition available. + Details
Name: | us-gaap_MultiemployerPlansWithdrawalObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow from the acquisition of real estate intended to generate income for the owner; excludes land acquired for use by the owner. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireLand
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount (including both current and noncurrent portions) of accrued known and estimated losses incurred as of the balance sheet date for which no insurance coverage exists, and for which a claim has been made or is probable of being asserted, typically arising from workmen's compensation-type of incidents and personal injury to nonemployees from accidents on the entity's property. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.24) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_SelfInsuranceReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying amount of accrued known and estimated losses incurred as of the balance sheet date for which no insurance coverage exists, and for which a claim has been made or is probable of being asserted, typically arising from workmen's compensation-type of incidents and personal injury to nonemployees from accidents on the entity's property that are expected to be paid after one year (or the normal operating cycle, if longer). + References No definition available. + Details
Name: | us-gaap_SelfInsuranceReserveNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_PropertyLiabilityAndCasualtyInsuranceSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_UninsuredRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_GroupPoliciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_CorporateJointVentureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=mtz_JointVenturesThatProvideElectricalTransmissionInfrastructureServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=mtz_JointVentureCivilConstructionProjectMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=mtz_ContractualJointVentureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=mtz_CaptiveInsuranceCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=us-gaap_PerformanceGuaranteeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=us-gaap_FinancialStandbyLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=us-gaap_SuretyBondMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_AccidentAndHealthInsuranceSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=srt_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_SalesRevenueNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtz_TenLargestCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=mtz_InfrastructureEnergyAlternativesIncAndSiliconRanchCorporationLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=mtz_SiliconRanchCorporationLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=mtz_LitigationSettlementBenchmarkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=mtz_CommitmentsAndContingenciesConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=mtz_InfrastructureEnergyAlternativesIncAndIEAConstructorsLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=mtz_SiliconRanchCorporationLLCMatterMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=mtz_HLFarmsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=mtz_IEAConstructorsLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |