XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.23.1

Subsequent Events - Additional Information (Detail) - Subsequent Event [Member] - Dixie Storage [Member] $ in Millions | Apr. 01, 2023 USD ($) MobileModularPortableStorage
--- | ---
Subsequent Event [Line Items] |
Purchase price | $ | $ 4.9
Increased number of mobile modular portable storage | MobileModularPortableStorage | 800

X
- Definition Increased number of mobile modular portable storage after acquisition. + References No definition available. + Details
Name: | mgrc_IncreasednumberOfMobileModularPortableStorageAfterAcquisition
Namespace Prefix: | mgrc_
Data Type: | xbrli:integerItemType
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 -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
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: |