XML 54 R42.htm IDEA: XBRL DOCUMENT
v3.22.2

Acquisitions, Goodwill, and Other Intangible Assets - IEA Acquisition (Details) - Subsequent Event | 1 Months Ended
--- | ---
Jul. 31, 2022 $ / shares
Bridge Facility, Term Loan | Credit Facility |
Business Acquisition [Line Items] |
Debt instrument, term | 364 days
IEA Acquisition |
Business Acquisition [Line Items] |
Business acquisition, share price (in dollars per share) | $ 14.00
IEA Acquisition | Bridge Facility, Term Loan | Credit Facility |
Business Acquisition [Line Items] |
Debt instrument, term | 364 days
IEA Acquisition | Cash |
Business Acquisition [Line Items] |
Business acquisition, share price (in dollars per share) | $ 10.50
Business acquisition, percentage of consideration allocation | 0.75
IEA Acquisition | Stock |
Business Acquisition [Line Items] |
Business acquisition, share price (in dollars per share) | $ 3.50
Business acquisition, percentage of consideration allocation | 0.25

X
- Definition Business Acquisition, Share Price, Percentage Of Consideration Allocation + References No definition available. + Details
Name: | mtz_BusinessAcquisitionSharePricePercentageOfConsiderationAllocation
Namespace Prefix: | mtz_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Price of a single share of a number of saleable stocks paid or offered to be paid in a business combination. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionSharePrice
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=mtz_BridgeFacilityTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_DomesticLineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | mtz_BusinessCombinationConsiderationAxis=mtz_CashTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mtz_BusinessCombinationConsiderationAxis=mtz_StockTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |