XML 67 R51.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Contract Assets and Liabilities - Summary of Contract Liabilities (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Contractors [Line Items] |  |  |
Deferred revenue | $ 231,604 | $ 223,654 |
Accrued loss provision | 8,807 | 3,401 |
Contract liabilities | 240,411 | 227,055 |
Changes in contract liabilities | 13,151 | $ 58,001 | $ 9,573
Net Period Change |  |  |
Contractors [Line Items] |  |  |
Change in deferred revenue | 7,950 |  |
Change in accrued loss provision | 5,406 |  |
Changes in contract liabilities | $ 13,356 |  |

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/2147482312/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: |