XML 47 R35.htm IDEA: XBRL DOCUMENT
v3.22.2

Earnings Per Share - Narrative (Details) - shares | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
May 31, 2022 | Dec. 31, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Dec. 31, 2021
Business Acquisition [Line Items] |  |  |  |  |  |  |
Antidilutive securities excluded from computation of diluted net loss per share (in shares) |  |  |  |  | 1,173,000 |  |
Treasury stock acquired (in shares) |  |  | 936,000 | 0 | 1,124,000 | 0 |
Repurchase effect on weighted average shares outstanding, decrease (in shares) |  |  | 554,000 |  | 330,000 |  |
HMG |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |
Business acquisition, number of shares issued (in shares) | 133,000 | 1,975,000 |  |  |  |  | 2,000,000

X
- Definition Antidilutive Securities Excluded from Computation of Earnings Per Share, Due To Net Loss Position, Amount + References No definition available. + Details
Name: | mtz_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareDueToNetLossPositionAmount
Namespace Prefix: | mtz_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The decrease in the Company's weighted average number of shares outstanding, as compared with the respective prior year period(s), as a result of current period(s) share repurchases. + References No definition available. + Details
Name: | mtz_EffectOfRepurchasesOnWeightedAverageSharesOutstandingDecrease
Namespace Prefix: | mtz_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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