Annual report pursuant to Section 13 and 15(d)

Commitments and Contingencies (Details Textual)

v2.4.1.9
Commitments and Contingencies (Details Textual) (USD $)
1 Months Ended 12 Months Ended
Mar. 31, 2012
Dec. 31, 2014
lender
Dec. 31, 2013
Dec. 31, 2012
Feb. 14, 2014
Jul. 17, 2013
Jul. 08, 2013
Jun. 17, 2013
Sep. 30, 2012
Jun. 06, 2011
Oct. 26, 2011
JointVenture
Loss Contingencies [Line Items]                      
Reserved for litigation and asserted claims   $ 16,499,000us-gaap_LitigationReserve $ 16,463,000us-gaap_LitigationReserve                
Warranty reserve   22,080,000us-gaap_StandardProductWarrantyAccrual 21,971,000us-gaap_StandardProductWarrantyAccrual 22,064,000us-gaap_StandardProductWarrantyAccrual              
Number of lenders filing petition for involuntary bankruptcy   3mth_NumberOfLendersFilingPetitionForInvoluntaryBankruptcy                  
Initial Litigation Judgment Amount               15,053,857mth_InitialLitigationJudgmentAmount      
Litigation Judgment Amount With Interest             15,753,344mth_LitigationJudgmentAmountWithInterest        
Litigation Judgment Interest               699,487mth_LitigationJudgmentInterest      
Supersedeas Bond   16,930,477mth_SupersedeasBond       16,050,604mth_SupersedeasBond          
Incremental Attorney Fees to Supersedeas Bond         877,241mth_IncrementalAttorneyFeestoSupersedeasBond            
Amount requested in demand for arbitration related to alleged breaches 13,500,000us-gaap_LossContingencyDamagesSoughtValue                    
Additional amount requested in demand for arbitration related to pro rata future infrastructure improvement costs                 9,800,000mth_FutureInfrastructureImprovementCosts    
Rent expense   6,500,000us-gaap_OperatingLeasesRentExpenseNet 6,400,000us-gaap_OperatingLeasesRentExpenseNet 5,500,000us-gaap_OperatingLeasesRentExpenseNet              
Sublease income   600,000us-gaap_OperatingLeasesIncomeStatementSubleaseRevenue 1,600,000us-gaap_OperatingLeasesIncomeStatementSubleaseRevenue 2,000,000us-gaap_OperatingLeasesIncomeStatementSubleaseRevenue              
South Edge Guarantee [Member]                      
Loss Contingencies [Line Items]                      
Equity Method Investment, Ownership Percentage   3.53%us-gaap_EquityMethodInvestmentOwnershipPercentage
/ us-gaap_GuaranteeObligationsByNatureAxis
= mth_SouthEdgeGuaranteeMember
                 
Springing Repayment Guarantee Original Demand Letter                   $ 13,200,000mth_SpringingRepaymentGuaranteeOriginalDemandLetter
/ us-gaap_GuaranteeObligationsByNatureAxis
= mth_SouthEdgeGuaranteeMember
 
South Edge [Member]                      
Loss Contingencies [Line Items]                      
Number of co-ventures in joint venture                     4mth_NumberOfCoVenturesInJointVenture
/ us-gaap_LossContingenciesByNatureOfContingencyAxis
= mth_SouthEdgeMember