XML 87 R75.htm IDEA: XBRL DOCUMENT
v3.22.4

Subsequent Events - Additional Information (Details) - USD ($) $ in Millions |  | 12 Months Ended
--- | --- | ---
Feb. 01, 2022 | Dec. 31, 2022
Vesta Housing Solutions [Member] |  |
Subsequent Event [Line Items] |  |
Purchase price | $ 400 |
Business acquisition, description of acquired entity |  | Vesta Modular is a leading provider of temporary and permanent modular space solutions serving customers between its modular leasing and modular construction divisions.
Ironclad [Member] |  |
Subsequent Event [Line Items] |  |
Sale price | $ 265 |

X
- Definition With respect to a business combination completed during the period, this element provides a description of the business, other than the name, which may include the industry, size, products and other important information. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionDescriptionOfAcquiredEntity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the entity's equity method investment which has been sold. + References No definition available. + Details
Name: | us-gaap_EquityMethodInvestmentSoldCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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_BusinessAcquisitionAxis=mgrc_VestaHousingSolutionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=mgrc_IroncladMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |