Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation - Outstanding Awards Under 2013 Omnibus Equity Incentive Plan (Detail)

v2.4.1.9
Stock-Based Compensation - Outstanding Awards Under 2013 Omnibus Equity Incentive Plan (Detail) (USD $)
1 Months Ended 12 Months Ended 1 Months Ended
Dec. 31, 2014
Nov. 30, 2014
Aug. 31, 2014
May 31, 2014
Feb. 28, 2014
Dec. 31, 2014
Nov. 30, 2013
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Outstanding, beginning balance, Shares           913,915us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber  
Granted 216,411us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod 14,222us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod 18,820us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod 61,655us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod 38,088us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod 349,196us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod  
Vested           (10,002)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod  
Forfeited/canceled           (46,100)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod  
Outstanding, ending balance, Shares 1,207,009us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber         1,207,009us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber  
Unrecognized stock-based compensation expense as of December 31, 2014 $ 27,175,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized         $ 27,175,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized  
Unrecognized stock-based compensation expenses recognition period           4 years 1 month 24 days  
Nonvested weighted average grant date fair value per share, beginning balance           $ 14.46us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue  
Weighted average grant date fair value per share, Granted           $ 27.46us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue  
Weighted average grant date fair value, Vested           $ 12.00us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue  
Weighted average grant date fair value, Transferred           $ 14.54mmi_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsTransferredInPeriodWeightedAverageGrantDateFairValue  
Weighted average grant date fair value, Forfeited/canceled           $ 14.65us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue  
Nonvested weighted average grant date fair value per share, ending balance $ 18.23us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue         $ 18.23us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue  
Restricted Stock [Member] | Non-employee directors [Member]              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Outstanding, beginning balance, Shares           30,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
 
Granted       22,884us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
  22,884us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
30,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
Vested           (10,002)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
 
Outstanding, ending balance, Shares 42,882us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
        42,882us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
 
Unrecognized stock-based compensation expense as of December 31, 2014 503,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
        503,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
 
Unrecognized stock-based compensation expenses recognition period           2 years 1 month 10 days  
Restricted Stock Units (RSUs) [Member] | Employees [Member]              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Outstanding, beginning balance, Shares           313,155us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
 
Granted 216,411us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
9,584us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
6,346us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
6,991us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
  239,332us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
 
Transferred           (8,596)mmi_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsTransferredInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
 
Forfeited/canceled           (27,454)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
 
Outstanding, ending balance, Shares 516,437us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
        516,437us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
 
Unrecognized stock-based compensation expense as of December 31, 2014 10,126,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
        10,126,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
 
Unrecognized stock-based compensation expenses recognition period           4 years 5 months 16 days  
Restricted Stock Units (RSUs) [Member] | Independent Contractors [Member]              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Outstanding, beginning balance, Shares           570,760us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
 
Granted   4,638us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
12,474us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
31,780us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
38,088us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
86,980us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
 
Transferred           8,596mmi_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsTransferredInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
 
Forfeited/canceled           (18,646)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
 
Outstanding, ending balance, Shares 647,690us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
        647,690us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
 
Unrecognized stock-based compensation expense as of December 31, 2014 $ 16,546,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
        $ 16,546,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_TitleOfIndividualAxis
= mmi_IndependentContractorsMember
 
Unrecognized stock-based compensation expenses recognition period           4 years 18 days