XML 55 R39.htm IDEA: XBRL DOCUMENT
v3.23.1

Acquisitions, Goodwill, and Other Intangible Assets, Net - Quarterly Assessment for Indicators of Impairment - Narrative (Details) | 3 Months Ended
--- | ---
Mar. 31, 2023 reporting_unit
Oil and Gas |
Goodwill [Line Items] |
Number of reporting units | 1
Communications |
Goodwill [Line Items] |
Number of reporting units | 1
Clean Energy and Infrastructure |
Goodwill [Line Items] |
Number of reporting units | 1

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

X
- Definition Number of reporting units tested for impairment of goodwill. A reporting unit is an operating segment or one level below an operating segment. + References No definition available. + Details
Name: | us-gaap_NumberOfReportingUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtz_OilAndGasSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtz_CommunicationsSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtz_CleanEnergyAndInfrastructureSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |