XML 41 R30.htm IDEA: XBRL DOCUMENT
v3.25.1

Contract Assets and Liabilities - Summary of contract liabilities (Details) - USD ($) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2025 | Mar. 31, 2024 | Dec. 31, 2024
Contractors [Line Items] |  |  |
Deferred revenue | $ 284,951 |  | $ 312,632
Accrued loss provision | 7,690 |  | 9,326
Contract liabilities | 292,641 |  | $ 321,958
Contract liabilities, Change | (29,337) | $ 30,758 |
Change |  |  |
Contractors [Line Items] |  |  |
Deferred revenue, Change | (27,681) |  |
Accrued loss provision, Change | (1,636) |  |
Contract liabilities, Change | $ (29,317) |  |

X
- Definition Its represent the contract with customer, liability excluding provision for loss on contracts, current. + References No definition available. + Details
Name: | myrg_ContractWithCustomerLiabilityExcludingProvisionForLossOnContractsCurrent
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The increase (decrease) during the reporting period of the amount of accrued loss provision. + References No definition available. + Details
Name: | myrg_IncreaseDecreaseInAccruedLossProvision
Namespace Prefix: | myrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479837/606-10-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-8 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479837/606-10-45-2 + Details
Name: | us-gaap_ContractWithCustomerLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in obligation to transfer good or service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 912 -SubTopic 310 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478345/912-310-45-11 Reference 2: 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 + Details
Name: | us-gaap_IncreaseDecreaseInContractWithCustomerLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase (decrease) in deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (a) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 + Details
Name: | us-gaap_IncreaseDecreaseInDeferredRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Cumulative provision for contract losses not offset against related costs accumulated on the balance sheet. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 605 -SubTopic 35 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481187/605-35-45-2 + Details
Name: | us-gaap_ProvisionForLossOnContracts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | myrg_NetPeriodAxis=myrg_NetPeriodChangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |