XML 49 R38.htm IDEA: XBRL DOCUMENT
v3.23.2

Goodwill and Intangible Assets - Summary of Changes in Carrying Amount of Goodwill (Details) - USD ($) $ in Thousands | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2023 | Dec. 31, 2022
Goodwill [Line Items] |  |
Beginning Balance | $ 132,305 | $ 132,393
Changes to Design Space purchase accounting |  | (88)
Goodwill acquired through business combination | 218,951 |
Derecognition of goodwill divested | (25,902) |
Ending Balance | 325,354 | 132,305
Mobile Modular [Member] |  |
Goodwill [Line Items] |  |
Beginning Balance | 106,403 | 106,491
Changes to Design Space purchase accounting |  | (88)
Goodwill acquired through business combination | 218,951 |
Ending Balance | 325,354 | 106,403
Adler Tanks (Disconitued) [Member] |  |
Goodwill [Line Items] |  |
Beginning Balance | 25,902 | 25,902
Derecognition of goodwill divested | $ (25,902) |
Ending Balance |  | $ 25,902

X
- Definition Derecognition of goodwill divested. + References No definition available. + Details
Name: | mgrc_DerecognitionOfGoodwillDivested
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Goodwill, including discontinued operation. + References No definition available. + Details
Name: | mgrc_GoodwillIncludingDiscontinuedOperation
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination. + References Reference 1: 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 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 + Details
Name: | us-gaap_GoodwillAcquiredDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 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/disclosureRef -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 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -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 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1A Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-2 + Details
Name: | us-gaap_GoodwillLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 25 -Paragraph 16 -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479405/805-10-25-16 + Details
Name: | us-gaap_GoodwillPurchaseAccountingAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mgrc_MobileModularMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mgrc_AdlerTanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |