XML 58 R44.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Acquisition - Additional Information (Details) - CSI Electrical Contractors, Inc - USD ($) $ in Millions | 6 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2019 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Business Acquisition [Line Items] |  |  |  |
Preliminary estimated net asset adjustments | $ 1.0 |  |  |
Total consideration, net of net asset adjustments | $ 80.7 |  |  |
Margin Guarantee |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Change in contingent consideration |  | $ 0.5 | $ 0.6 | $ 2.0
Certain Performance Targets and Continued Employment of Key Executives |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Change in contingent consideration |  | $ 5.4 | $ 4.0 | $ 0.4

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 No definition available. + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=120321790&loc=d3e7008-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=myrg_CsiElectricalContractorsIncMember
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: |

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