XML 38 R27.htm IDEA: XBRL DOCUMENT
v3.23.2

Acquisitions - Summary of Pro Forma Data (Detail) - USD ($) $ / shares in Units, $ in Thousands | 6 Months Ended
--- | ---
Jun. 30, 2023 | Jun. 30, 2022
Business Acquisition [Line Items] |  |
Pro-forma total revenues | $ 374,391 | $ 339,638
Pro-forma net income | $ 39,174 | $ 34,781
Pro-forma basic earnings per share | $ 1.6 | $ 1.43
Pro-forma diluted earnings per share | $ 1.6 | $ 1.42
Vesta Modular [Member] |  |
Business Acquisition [Line Items] |  |
Actual total revenues | $ 47,257 |
Actual net income | $ 9,016 |
Actual basic earnings per share | $ 0.37 |
Actual diluted earnings per share | $ 0.37 |

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 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma basic net income per share for a period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma diluted net income per share for a period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per basic share amount of pro forma income from continuing operations, after tax, as if the business combination had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTaxPerShareBasic
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per diluted share amount of pro forma income from continuing operations, after tax, as if the business combination had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTaxPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of earnings or loss of the acquiree since the acquisition date included in the consolidated income statement for the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of revenue of the acquiree since the acquisition date included in the consolidated income statement for the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mgrc_VestaHousingSolutionsHoldingsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |