Annual report pursuant to Section 13 and 15(d)

Retirement Plans - Additional Information (Detail)

v2.4.1.9
Retirement Plans - Additional Information (Detail) (USD $)
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Defined Benefit Plan Disclosure [Line Items]      
Defined contribution plan, new plan effective date 2014-01    
Retirement Plans [Member]      
Defined Benefit Plan Disclosure [Line Items]      
Defined contribution plan minimum eligible period Have completed one month of service and have reached age 21.    
Defined contribution plan, maximum percentage of employee contribution 100.00%us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
/ us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis
= mmi_RetirementPlanMember
   
Defined contribution plan, percentage of employer matching contribution percent of match 50.00%us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
/ us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis
= mmi_RetirementPlanMember
   
Defined contribution plan, employer contribution percentage 4.00%us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
/ us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis
= mmi_RetirementPlanMember
   
Defined contribution plan, maximum annual employer contribution per employee $ 4,000mmi_DefinedContributionPlanEmployerMatchingMaximumAnnualContributionAmount
/ us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis
= mmi_RetirementPlanMember
   
Defined contribution plan, matching contributions aggregated $ 429,000us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense
/ us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis
= mmi_RetirementPlanMember
$ 321,000us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense
/ us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis
= mmi_RetirementPlanMember
$ 0us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense
/ us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis
= mmi_RetirementPlanMember