XML 50 R39.htm IDEA: XBRL DOCUMENT
v3.23.2

Goodwill and Intangible Assets - Summary of Intangible Assets (Detail) - USD ($) $ in Thousands | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2023 | Dec. 31, 2022
Finite Lived Intangible Assets [Line Items] |  |
Cost | $ 81,155 | $ 56,680
Accumulated amortization | (15,719) | (21,420)
Net book value | 65,436 | 35,260
Indefinite, cost | 171 | 5,871
Indefinite, net book value | 171 | 5,871
Total, cost | 81,326 | 62,551
Total, accumulated amortization | (15,719) | (21,420)
Total, net book value | $ 65,607 | $ 41,131
Customer Relationships [Member] |  |
Finite Lived Intangible Assets [Line Items] |  |
Average remaining life in years | 7 years 4 months 24 days | 6 years 3 months 18 days
Cost | $ 68,678 | $ 50,284
Accumulated amortization | (12,852) | (18,098)
Net book value | $ 55,826 | $ 32,186
Customer Relationships [Member] | Minimum [Member] |  |
Finite Lived Intangible Assets [Line Items] |  |
Estimated useful life in years | 8 years | 8 years
Customer Relationships [Member] | Maximum [Member] |  |
Finite Lived Intangible Assets [Line Items] |  |
Estimated useful life in years | 11 years | 11 years
Non-compete Agreements [Member] |  |
Finite Lived Intangible Assets [Line Items] |  |
Estimated useful life in years | 5 years | 5 years
Average remaining life in years | 4 years | 3 years 2 months 12 days
Cost | $ 10,477 | $ 3,296
Accumulated amortization | (2,085) | (1,159)
Net book value | $ 8,392 | 2,137
Customer Backlog [Member] |  |
Finite Lived Intangible Assets [Line Items] |  |
Cost |  | 1,900
Accumulated amortization |  | $ (1,900)
Trade Name [Member] |  |
Finite Lived Intangible Assets [Line Items] |  |
Estimated useful life in years |  | 8 years
Average remaining life in years | 4 years 2 months 12 days | 6 years 3 months 18 days
Cost | $ 2,000 | $ 1,200
Accumulated amortization | (782) | (263)
Net book value | $ 1,218 | $ 937
Trade Name [Member] | Minimum [Member] |  |
Finite Lived Intangible Assets [Line Items] |  |
Estimated useful life in years | 9 months |
Trade Name [Member] | Maximum [Member] |  |
Finite Lived Intangible Assets [Line Items] |  |
Estimated useful life in years | 8 years |

X
- Definition Indefinite lived intangible assets gross. + References No definition available. + Details
Name: | mgrc_IndefiniteLivedIntangibleAssetsGross
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indefinite lived intangible assets net. + References No definition available. + Details
Name: | mgrc_IndefiniteLivedIntangibleAssetsNet
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Intangible assets accumulated amortization excluding goodwill. + References No definition available. + Details
Name: | mgrc_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Net intangible asset including discontinued operation. + References No definition available. + Details
Name: | mgrc_NetIntangibleAssetIncludingDiscontinuedOperation
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482665/350-30-50-1 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482665/350-30-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 928 -SubTopic 340 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483147/928-340-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482665/350-30-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483154/926-20-50-5 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483154/926-20-50-5 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482665/350-30-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Remaining amortization period of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483154/926-20-50-5 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount before accumulated amortization of intangible assets, excluding goodwill. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(15)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_IntangibleAssetsGrossExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
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: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_NoncompeteAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerListsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TradeNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |