XML 72 R59.htm IDEA: XBRL DOCUMENT
v3.25.2

STOCK BASED AND DEFERRED COMPENSATION - Summary of Additional Information Regarding Stock Plan (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Mar. 31, 2025 | Jun. 30, 2025 | Dec. 31, 2024
Summary of stock based compensation agreements |  |  |  |
Unrecognized stock-based compensation cost |  |  | $ 41,319 | $ 30,666
Weighted average years expense recognition period |  | 1 year 11 months 12 days | 2 years 1 month 2 days |
Total stock-based awards outstanding (in shares) | [1] |  | 1,045,739 | 1,256,932
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-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 -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