XML 62 R46.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Acquisition - Additional Information (Details) - USD ($) |  | 12 Months Ended
--- | --- | ---
Jan. 04, 2022 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2022 | Dec. 31, 2021
Business Acquisition [Line Items] |  |  |  |  |
Cash consideration paid, net of cash acquired |  | $ 0 | $ 110,660,000 |  | $ 0
Powerline Plus Companies |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Net asset and other adjustments | $ 563,000 |  |  | $ 84,000 |
Cash consideration paid, net of cash acquired |  |  |  | 110,700,000 |
Contingent consideration - fair value at acquisition date | $ 10,608,000 |  | 865,000 | 865,000 |
Powerline Plus Companies | Certain Performance Targets |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Contingent earn-out consideration, post acquisition term | 3 years |  |  |  |
Contingent consideration - fair value at acquisition date | $ 900,000 | 0 | 200,000 | $ 200,000 |
Contingent earn-out consideration payment | $ 17,000,000 |  |  |  |
Change in contingent consideration |  | 200,000 | 700,000 |  |
Powerline Plus Companies | Margin Guarantee |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Change in contingent consideration |  | $ 0 | $ 0 |  |

X
- Definition Business Combination, Contingent Consideration Arrangements, Performance Objectives, Post-Acquisition Period + References No definition available. + Details
Name: | myrg_BusinessCombinationContingentConsiderationArrangementsPerformanceObjectivesPostAcquisitionPeriod
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of preliminary estimated net asset adjustments consisting of acquisition-date fair value. + References No definition available. + Details
Name: | myrg_BusinessCombinationPreliminaryEstimatedNetAssetAdjustments
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-4 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition For contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential range (undiscounted) of the consideration which may be paid. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-1 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of liability recognized arising from contingent consideration in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479668/805-30-25-6 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 35 -Paragraph 1 -Subparagraph (b) -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479613/805-30-35-1 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | us-gaap_ContingentConsiderationByTypeAxis=myrg_CertainPerformanceTargetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContingentConsiderationByTypeAxis=myrg_MarginGuaranteeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |