XML 106 R90.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Employee Benefit Plans - Summary of Multi-Employer Benefit Plans (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | $ 179,208 | $ 155,838 | $ 145,880
All other plans |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 40,716 | 28,014 | 30,094
Southern California IBEW-NECA Pension Trust Fund | Multiemployer Plans, Pension |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 51,136 | 40,810 | 39,529
Eighth District Electrical Pension Fund | Multiemployer Plans, Pension |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 15,158 | 15,097 | 12,007
National Electrical Benefit Fund | Multiemployer Plans, Pension |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 14,598 | 13,804 | 11,627
IBEW Local 332 Pension Plan Part A | Multiemployer Plans, Pension |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 4,292 | 5,723 | 6,409
IBEW Local 769 Management Pension Plan A | Multiemployer Plans, Pension |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 5,222 | 5,061 | 3,446
IBEW Local Union 1249 Pension Fund | Multiemployer Plans, Pension |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 5,706 | 3,791 | 3,684
Laborers Local Union 158 Pension Fund | Multiemployer Plans, Pension |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 3,246 | 256 | 37
National Electrical Annuity Plan | Other Postretirement Benefits Plan |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 30,758 | 36,982 | 27,974
Eighth District Electrical Pension Fund Annuity Plan | Other Postretirement Benefits Plan |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | 3,624 | 3,347 | 5,097
San Mateo Country Electrical Construction Industry Retirement Plan | Other Postretirement Benefits Plan |  |  |
Multiemployer Plan, Employer Contribution, Cost [Abstract] |  |  |
Contributions to Plan | $ 4,752 | $ 2,953 | $ 5,976

X
- Definition Amount of cost for employer contribution to multiemployer plan. Multiemployer plan includes, but is not limited to, pension plan determined to be individually significant and insignificant and other postretirement benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 80 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480547/715-80-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 80 -Name Accounting Standards Codification -Section 35 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480606/715-80-35-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 80 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480576/715-80-50-11 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 80 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480576/715-80-50-9 + Details
Name: | us-gaap_MultiemployerPlanEmployerContributionCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_MultiemployerPlanEmployerContributionCostAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_OtherPensionPlansPostretirementOrSupplementalPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_SouthernCaliforniaIbewNecaPensionTrustFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_EighthDistrictElectricalPensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_NationalElectricalBenefitFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_IBEWLocal332PensionPlanPartAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_IbewLocal769ManagementPensionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_IBEWLocalUnion1249PensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_LaborersLocalUnion158PensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_NationalElectricalAnnuityPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_EighthDistrictElectricalPensionFundAnnuityPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=myrg_SanMateoCountryElectricalConstructionIndustryRetirementPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |