XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.23.1

Discontinued Operations - Schedule of Assets and Liabilities on Discontinued Operations Reported in Condensed Consolidated Balance Sheets (Parenthetical (Detail) $ in Thousands | Dec. 31, 2022 USD ($)
--- | ---
Adler Tank Rentals, LLC |
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] |
Allowance for credit losses | $ 450

X
- Definition Disposal group including discontinued operations allowance for credit loss. + References No definition available. + Details
Name: | mgrc_DisposalGroupIncludingDiscontinuedOperationsAllowanceForCreditLoss
Namespace Prefix: | mgrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 No definition available. + Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=mgrc_AdlerTankRentalsLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |