XML 35 R27.htm IDEA: XBRL DOCUMENT
v3.24.2

Acquisitions - Additional Information (Detail) $ in Thousands |  |  |  | 6 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | ---
Apr. 01, 2023 USD ($) | Mar. 01, 2023 USD ($) PortableStorage | Feb. 01, 2023 USD ($) | Jun. 30, 2024 USD ($) | Dec. 31, 2023 USD ($) | Jul. 01, 2023 USD ($)
Business Acquisition [Line Items] |  |  |  |  |  |
Combined acquired goodwill |  |  |  | $ 323,224 | $ 323,224 |
Goodwill deductible for tax purpose, period |  |  |  | 15 years |  |
Intangible assets |  |  |  | $ 59,453 | $ 64,588 |
Combined federal and state tax rate |  |  |  | 26.50% |  |
Non-compete Agreements [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Acquired intangible assets, expected useful life |  |  |  | 5 years | 5 years |
Vesta Modular [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Purchase of assets |  |  | $ 437,200 |  |  |
Business acquisition, transaction costs |  |  | 7,700 |  |  |
Purchase price |  |  | 437,210 |  |  |
Combined acquired goodwill |  |  | $ 211,178 |  |  |
Vesta Modular [Member] | Customer Relationships [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Acquired intangible assets, expected useful life |  |  | 11 years |  |  |
Vesta Modular [Member] | Trade Name [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Acquired intangible assets, expected useful life |  |  |  | 9 months |  |
Brekke Storage [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Business acquisition, transaction costs |  | $ 200 |  |  |  |
Purchase price |  | $ 16,382 |  |  |  |
Increased number of portable storage | PortableStorage |  | 2,700 |  |  |  |
Combined acquired goodwill |  | $ 4,083 |  |  |  |
Brekke Storage [Member] | Customer Relationships [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Acquired intangible assets, expected useful life |  | 8 years |  |  |  |
Vesta Modular, Brekke Storage and Dixie Storage [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Combined acquired goodwill |  |  |  | $ 216,800 |  |
Dixie Storage [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Business acquisition, transaction costs | $ 100 |  |  |  |  |
Purchase price | 4,751 |  |  |  |  |
Purchase price including acquisition costs | 4,900 |  |  |  |  |
Combined acquired goodwill | $ 1,555 |  |  |  |  |
Dixie Storage [Member] | Customer Relationships [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Acquired intangible assets, expected useful life | 9 years |  |  |  |  |
Inland Leasing [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Purchase price |  |  |  |  |  | $ 3,800
Rental equipment |  |  |  |  |  | 3,000
Intangible assets |  |  |  |  |  | $ 700

X
- Definition Business combination recognized identifiable assets acquired goodwill and liabilities assumed net including transaction costs. + References No definition available. + Details
Name: | mgrc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetIncludingTransactionCosts
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Effective income tax rate reconciliation combined federal state tax rate. + References No definition available. + Details
Name: | mgrc_EffectiveIncomeTaxRateReconciliationCombinedFederalStateTaxRate
Namespace Prefix: | mgrc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Goodwill deductible for tax purpose, period. + References No definition available. + Details
Name: | mgrc_GoodwillDeductibleForTaxPurposePeriod
Namespace Prefix: | mgrc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increased Number of portable storage after acquisition. + References No definition available. + Details
Name: | mgrc_IncreasedNumberOfPortableStorageAfterAcquisition
Namespace Prefix: | mgrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts
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 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated impairment loss, of asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 49 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-49 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 24 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482548/350-20-55-24 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481372/852-10-55-10 Reference 5: 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 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482598/350-20-45-1 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-1 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -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 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482686/350-30-45-1 + Details
Name: | us-gaap_IntangibleAssetsNetExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount of income producing properties held for rental. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(d)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_RentalProperties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mgrc_VestaHousingSolutionsHoldingsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mgrc_BrekkeStorageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mgrc_VestaModularBrekkeStorageAndDixieStorageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mgrc_DixieTemporaryStorageLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mgrc_InlandLeasingAndStorageLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |