XML 81 R67.htm IDEA: XBRL DOCUMENT
v3.22.4

STOCK BASED AND DEFERRED COMPENSATION - Summary of Additional Information Regarding Stock Plan (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Summary of stock based compensation agreements |  |
Unrecognized stock-based compensation cost | $ 29,187 | $ 25,007
Weighted average years expense recognition period | 1 year 11 months 23 days | 1 year 11 months 19 days
Total equity awards outstanding (in shares) | 803,769 | 883,280
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-types: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 -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration