Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation Plans - Components of Stock-Based Compensation Included in Condensed Consolidated Statements of Net and Comprehensive Income (Detail)

v2.4.1.9
Stock-Based Compensation Plans - Components of Stock-Based Compensation Included in Condensed Consolidated Statements of Net and Comprehensive Income (Detail) (USD $)
In Thousands, unless otherwise specified
3 Months Ended
Mar. 31, 2015
Mar. 31, 2014
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Share-based compensation expense - Independent contractors $ 1,259us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims $ 487us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims
Allocated share-based compensation expense 1,907us-gaap_AllocatedShareBasedCompensationExpense 717us-gaap_AllocatedShareBasedCompensationExpense
Employee Stock Purchase Plan [Member]    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Allocated share-based compensation expense 62us-gaap_AllocatedShareBasedCompensationExpense
/ us-gaap_AwardTypeAxis
= mmi_EmployeeStockPurchasePlanMember
 
Restricted Stock [Member] | Non-employee directors [Member]    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Allocated share-based compensation expense 59us-gaap_AllocatedShareBasedCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
30us-gaap_AllocatedShareBasedCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= mmi_NonEmployeeDirectorMember
Restricted Stock Units (RSUs) [Member] | Employees [Member]    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Allocated share-based compensation expense $ 527us-gaap_AllocatedShareBasedCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember
$ 200us-gaap_AllocatedShareBasedCompensationExpense
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockUnitsRSUMember
/ us-gaap_SubsidiarySaleOfStockAxis
= us-gaap_EmployeeStockMember