Fair Value Measurements - Schedule of Investments at Fair Value on Recurring Basis (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
|
Marketable securities, available for sale |
14,752us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent
|
|
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
|
|
Cash equivalents |
25,310us-gaap_CashAndCashEquivalentsFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
|
|
Marketable securities, available for sale |
14,752us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
|
|
Recurring [Member] | Cash Equivalents [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Cash equivalents |
25,310us-gaap_CashAndCashEquivalentsFairValueDisclosure / us-gaap_CashAndCashEquivalentsAxis = us-gaap_CashEquivalentsMember / 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
|
|
Recurring [Member] | U.S. government and agency debt securities [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Marketable securities, available for sale |
4,997us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
|
Recurring [Member] | Corporate debt securities [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Marketable securities, available for sale |
7,478us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
|
Recurring [Member] | Asset-backed securities [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Marketable securities, available for sale |
2,277us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_AssetBackedSecuritiesMember
|
|
Level 1 [Member] | Recurring [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Cash equivalents |
25,310us-gaap_CashAndCashEquivalentsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
|
|
Marketable securities, available for sale |
2,980us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
|
|
Level 1 [Member] | Recurring [Member] | Cash Equivalents [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Cash equivalents |
25,310us-gaap_CashAndCashEquivalentsFairValueDisclosure / us-gaap_CashAndCashEquivalentsAxis = us-gaap_CashEquivalentsMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
|
|
Level 1 [Member] | Recurring [Member] | U.S. government and agency debt securities [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Marketable securities, available for sale |
2,980us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
|
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
|
|
Marketable securities, available for sale |
11,772us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / 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
|
Level 2 [Member] | Recurring [Member] | U.S. government and agency debt securities [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Marketable securities, available for sale |
2,017us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
|
Level 2 [Member] | Recurring [Member] | Corporate debt securities [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Marketable securities, available for sale |
7,478us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
|
Level 2 [Member] | Recurring [Member] | Asset-backed securities [Member] |
|
|
Fair Value Assets And Liabilities Measured On Recurring Basis Financial Statement Captions [Line Items] |
|
|
Marketable securities, available for sale |
$ 2,277us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_AssetBackedSecuritiesMember
|
|