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

Goodwill and Intangible Assets - Summary of Changes in Carrying Amount of Goodwill (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 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 | 217,396 |
Derecognition of goodwill divested | (25,902) |
Ending Balance | 323,799 | 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 | 217,396 |
Ending Balance | 323,799 | 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 -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 55 -Paragraph 24 -URI https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 + 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 No definition available. + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 16 -URI https://asc.fasb.org/extlink&oid=123586518&loc=d3e961-128460 + 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: |