Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements - Additional Information (Detail)

v2.4.1.9
Fair Value Measurements - Additional Information (Detail) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2014
Dec. 31, 2013
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items]    
Investments held in rabbi trust $ 4,332us-gaap_DeferredCompensationPlanAssets $ 4,067us-gaap_DeferredCompensationPlanAssets
Recurring [Member]    
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items]    
Investments held in rabbi trust 4,332us-gaap_DeferredCompensationPlanAssets
/ us-gaap_FairValueByMeasurementFrequencyAxis
= us-gaap_FairValueMeasurementsRecurringMember
 
Recurring [Member] | Investments held in rabbi trust [Member]    
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items]    
Investments held in rabbi trust 4,332us-gaap_DeferredCompensationPlanAssets
/ us-gaap_FairValueByMeasurementFrequencyAxis
= us-gaap_FairValueMeasurementsRecurringMember
/ us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis
= mmi_InvestmentsHeldInRabbiTrustMember
 
Level 2 [Member] | Recurring [Member]    
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items]    
Investments held in rabbi trust 4,332us-gaap_DeferredCompensationPlanAssets
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementFrequencyAxis
= us-gaap_FairValueMeasurementsRecurringMember
 
Level 2 [Member] | Recurring [Member] | Investments held in rabbi trust [Member]    
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items]    
Investments held in rabbi trust $ 4,332us-gaap_DeferredCompensationPlanAssets
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementFrequencyAxis
= us-gaap_FairValueMeasurementsRecurringMember
/ us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis
= mmi_InvestmentsHeldInRabbiTrustMember
$ 4,100us-gaap_DeferredCompensationPlanAssets
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementFrequencyAxis
= us-gaap_FairValueMeasurementsRecurringMember
/ us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis
= mmi_InvestmentsHeldInRabbiTrustMember