XML 86 R69.htm IDEA: XBRL DOCUMENT
v3.24.0.1

STOCK BASED AND DEFERRED COMPENSATION - Summary of Additional Information Regarding Stock Plan (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Summary of stock based compensation agreements |  |
Unrecognized stock-based compensation cost | $ 27,791 | $ 29,187
Weighted average years expense recognition period | 1 year 11 months 8 days | 1 year 11 months 23 days
Total equity awards outstanding (in shares) | 703,415 | 803,769
Payout percentage | 100.00% |

X
- Definition Share based compensation arrangement by share based payment award number of shares outstanding. + References No definition available. + Details
Name: | mth_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesOutstanding
Namespace Prefix: | mth_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share Based Compensation Arrangement, Payout Percentage + References No definition available. + Details
Name: | mth_ShareBasedCompensationArrangementPayoutPercentage
Namespace Prefix: | mth_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration