Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation Plans - Subsequent to the IPO - 2013 Omnibus Equity Incentive Plan - Additional Information (Detail)

v2.4.1.9
Stock-Based Compensation Plans - Subsequent to the IPO - 2013 Omnibus Equity Incentive Plan - Additional Information (Detail) (USD $)
1 Months Ended 12 Months Ended
Nov. 30, 2014
Dec. 31, 2014
Dec. 31, 2012
Dec. 31, 2011
Dec. 31, 2013
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of shares outstanding under compensation plan     750us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber 3,500us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber  
Stock Based Compensation Expense [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common stock price used for measurement to FMV for RSU awards to independent contractors   33.25us-gaap_SharePrice
/ us-gaap_AwardTypeAxis
= mmi_StockBasedCompensationExpenseMember
    $ 14.90us-gaap_SharePrice
/ us-gaap_AwardTypeAxis
= mmi_StockBasedCompensationExpenseMember
2013 Omnibus Equity Incentive Plan [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Deferred stock units, number of shares settled 455,151mmi_StockIssuedDuringPeriodSharesDeferredStockUnitsBeforeTaxSettlement
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember
       
Number of common stock shares withheld to pay employee statutory withholding taxes 185,821us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember
       
2013 Omnibus Equity Incentive Plan [Member] | Options [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of shares issued under compensation plan   0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_StockOptionMember
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember
     
Number of shares outstanding under compensation plan   0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_StockOptionMember
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember
     
2013 Omnibus Equity Incentive Plan [Member] | Restricted Stock [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period for restricted stock awards and restricted stock units   3 years      
2013 Omnibus Equity Incentive Plan [Member] | Restricted Stock Units (RSUs) [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period for restricted stock awards and restricted stock units   5 years      
2013 Omnibus Equity Incentive Plan [Member] | SARs [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of shares issued under compensation plan   0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_StockAppreciationRightsSARSMember
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember
     
Number of shares outstanding under compensation plan   0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_StockAppreciationRightsSARSMember
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember
     
2013 Omnibus Equity Incentive Plan [Member] | Performance Shares [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of shares issued under compensation plan   0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_PerformanceSharesMember
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember
     
Number of shares outstanding under compensation plan   0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_PerformanceSharesMember
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember
     
2013 Omnibus Equity Incentive Plan [Member] | Deferred stock units [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Fully vested deferred stock units remaining outstanding   1,820,596mmi_FullyVestedDeferredStockUnitsRemainingOutstanding
/ us-gaap_AwardTypeAxis
= mmi_DeferredStockUnitsMember
/ us-gaap_PlanNameAxis
= mmi_TwoThousandAndThirteenOmnibusEquityAwardPlanMember