XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.21.2

Goodwill and Other Intangible Assets (Quarterly Assessment for Indicators of Impairment) (Narrative) (Details) | 3 Months Ended
--- | ---
Jun. 30, 2021 reportingUnit
Oil and Gas |
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_OilAndGas1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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