XML 69 R58.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

STOCK BASED AND DEFERRED COMPENSATION - Summary of Additional Information Regarding Stock Plan (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2024 | Dec. 31, 2023
Summary of stock based compensation agreements |  |  |
Unrecognized stock-based compensation cost |  | $ 42,833 | $ 27,791
Weighted average years expense recognition period |  | 2 years 3 months | 1 year 11 months 8 days
Total stock-based awards outstanding (in shares) | [1] | 641,004 | 703,415
Payout percentage |  | 100.00% |
[1] | Includes unvested restricted stock units and performance-based awards (assuming 100%/target payout).

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