XML 52 R39.htm IDEA: XBRL DOCUMENT
v3.25.2

ORGANIZATION AND BASIS OF PRESENTATION - Narrative (Details) |  | 6 Months Ended |
--- | --- | --- | ---
Nov. 21, 2024 | Jun. 30, 2025 USD ($) region state community | Dec. 31, 2024 USD ($)
Organization and Presentation [Line Items] |  |  |
Entity operations in number of regions | region |  | 3 |
Number of states in regions | state |  | 12 |
Deposits on real estate under option or contract |  | $ 221,359,000 | $ 192,405,000
ROU assets |  | 53,116,000 | 52,941,000
Lease liabilities |  | 56,136,000 | 55,825,000
Contract asset insurance renewals |  | $ 0 | 0
Stockholders' Equity Note, Stock Split, Conversion Ratio | 2 |  |
Number of communities in which homes are sold | community |  | 312 |
Cash and cash equivalents [Member] |  |  |
Organization and Presentation [Line Items] |  |  |
Amounts in transit from title companies for home closings |  | $ 59,700,000 | $ 29,000,000.0
Minimum [Member] |  |  |
Organization and Presentation [Line Items] |  |  |
Base price per house for sale range |  | $ 170,000 |
Community life cycle range |  | 3 years |
Maximum [Member] |  |  |
Organization and Presentation [Line Items] |  |  |
Base price per house for sale range |  | $ 1,040,000 |
Community life cycle range |  | 5 years |
Maximum [Member] | Non-Structural Items [Member] |  |  |
Organization and Presentation [Line Items] |  |  |
Warranty period following home closings |  | 2 years |
Maximum [Member] | Structural [Member] |  |  |
Organization and Presentation [Line Items] |  |  |
Warranty period following home closings |  | 10 years |

X
- Definition Amounts in transit from title companies for home closings. + References No definition available. + Details
Name: | mth_AmountsInTransitFromTitleCompaniesForHomeClosings
Namespace Prefix: | mth_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The price range as of the balance sheet date relating to the houses the Company has for sale. + References No definition available. + Details
Name: | mth_BasePricePerHouseForSaleRange
Namespace Prefix: | mth_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The range in number of years it takes to develop and sell a community starting with the acquisition of the land. + References No definition available. + Details
Name: | mth_CommunityLifeCycleRange
Namespace Prefix: | mth_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contract Asset, Insurance Renewals + References No definition available. + Details
Name: | mth_ContractAssetInsuranceRenewals
Namespace Prefix: | mth_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The number of regions in the country where the Company has operations. + References No definition available. + Details
Name: | mth_EntityOperationsInNumberOfRegions
Namespace Prefix: | mth_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of communities in which the Company is actively selling homes as of the balance sheet date. + References No definition available. + Details
Name: | mth_NumberofCommunitiesinWhichHomesareSold
Namespace Prefix: | mth_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Organization and presentation line items. + References No definition available. + Details
Name: | mth_OrganizationAndPresentationLineItems
Namespace Prefix: | mth_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Warranty period following home closings. + References No definition available. + Details
Name: | mth_WarrantyPeriodFollowingHomeClosings
Namespace Prefix: | mth_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying amount of the asset transferred to a third party to serve as a deposit, which typically serves as security against failure by the transferor to perform under terms of an agreement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(17)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DepositAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SAB Topic 4.C) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-4 + Details
Name: | us-gaap_StockholdersEquityNoteStockSplitConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=mth_NonStructuralItemsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=mth_StructuralMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |