XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.25.1

Lease Obligations - Additional information (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2025 | Mar. 31, 2024
Operating And Finance Leases [Line Items] |  |
Option to extend lease term (up to) | 10 years |
Option to terminate leases, period | 1 year |
Minimum lease payments required | $ 49,407 |
Subsidiaries | Employees |  |
Operating And Finance Leases [Line Items] |  |
Operating lease expense | 600 | $ 600
Minimum lease payments required | $ 9,300 |
Lease amortization period | 4 years 4 months 24 days |
Minimum |  |
Operating And Finance Leases [Line Items] |  |
Remaining lease term | 1 year |
Maximum |  |
Operating And Finance Leases [Line Items] |  |
Remaining lease term | 9 years |

X
- Definition Lessee, operating and finance leases, option to extend, term. + References No definition available. + Details
Name: | myrg_LesseeOperatingAndFinanceLeasesOptionToExtendTerm
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee, operating and finance leases, option to terminate, period. + References No definition available. + Details
Name: | myrg_LesseeOperatingAndFinanceLeasesOptionToTerminatePeriod
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee operating and finance leases remaining contract term. + References No definition available. + Details
Name: | myrg_LesseeOperatingAndFinanceLeasesRemainingContractTerm
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition It represents Lessee Operating Lease Amortization Period. + References No definition available. + Details
Name: | myrg_LesseeOperatingLeaseAmortizationPeriod
Namespace Prefix: | myrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition n/a + References No definition available. + Details
Name: | myrg_OperatingAndFinanceLeasesLineItems
Namespace Prefix: | myrg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of lessee's undiscounted obligation for lease payment for operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-4 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=myrg_EmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |