XML 70 R50.htm IDEA: XBRL DOCUMENT
v3.25.4

Business, Basis of Presentation and Significant Accounting Policies - Leases (Details) | 12 Months Ended
--- | ---
Dec. 31, 2025
Maximum |
Certain Loans Acquired in Transfer Accounted for as Debt Securities Accretable Yield Movement Schedule [Line Items] |
Lease, term of contract | 13 years
Maximum | Equipment Leases |
Certain Loans Acquired in Transfer Accounted for as Debt Securities Accretable Yield Movement Schedule [Line Items] |
Lease, renewal term | 5 years
Maximum | Facility Leases |
Certain Loans Acquired in Transfer Accounted for as Debt Securities Accretable Yield Movement Schedule [Line Items] |
Lease, renewal term | 5 years
Minimum | Equipment Leases |
Certain Loans Acquired in Transfer Accounted for as Debt Securities Accretable Yield Movement Schedule [Line Items] |
Lease, renewal term | 1 year
Minimum | Facility Leases |
Certain Loans Acquired in Transfer Accounted for as Debt Securities Accretable Yield Movement Schedule [Line Items] |
Lease, renewal term | 1 year

X
- Definition Term of lessee's lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | mtz_LesseeLeaseRenewalTerm
Namespace Prefix: | mtz_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of lessee's lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | mtz_LesseeLeaseTermOfContract
Namespace Prefix: | mtz_
Data Type: | xbrli:durationItemType
Balance Type: | na
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_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldMovementScheduleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | mtz_LeaseArrangementsAxis=mtz_EquipmentLeasesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mtz_LeaseArrangementsAxis=mtz_FacilityLeasesMember
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: |