XML 22 R2.htm IDEA: XBRL DOCUMENT
v3.25.4

Audit Information | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2023
Auditor Information [Line Items] |  |
Auditor Name | PricewaterhouseCoopers LLP |
Auditor Location | Miami, Florida |
Auditor Firm ID | 238 |
BDO USA, P.C. |  |
Auditor Information [Line Items] |  |
Auditor Name |  | BDO USA, P.C.
Auditor Location |  | Miami, Florida
Auditor Firm ID |  | 243
Deloitte & Touche LLP |  |
Auditor Information [Line Items] |  |
Auditor Name |  | Deloitte & Touche LLP
Auditor Location |  | Indianapolis, Indiana
Auditor Firm ID |  | 34

X
- Definition PCAOB issued Audit Firm Identifier + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 10-K -Number 249 -Section 310 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 20-F -Number 249 -Section 220 -Subsection f Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 40-F -Number 249 -Section 240 -Subsection f + Details
Name: | dei_AuditorFirmId
Namespace Prefix: | dei_
Data Type: | dei:nonemptySequenceNumberItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 10-K -Number 249 -Section 310 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 20-F -Number 249 -Section 220 -Subsection f Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 40-F -Number 249 -Section 240 -Subsection f + Details
Name: | dei_AuditorLocation
Namespace Prefix: | dei_
Data Type: | dei:internationalNameItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 10-K -Number 249 -Section 310 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 20-F -Number 249 -Section 220 -Subsection f Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form 40-F -Number 249 -Section 240 -Subsection f + Details
Name: | dei_AuditorName
Namespace Prefix: | dei_
Data Type: | dei:internationalNameItemType
Balance Type: | na
Period Type: | duration

X
- Definition Auditor Information [Line Items] + References No definition available. + Details
Name: | mtz_AuditorInformationLineItems
Namespace Prefix: | mtz_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_CounterpartyNameAxis=mtz_BDOUSAP.C.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=mtz_DeloitteToucheLLPMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |