XML 71 R58.htm IDEA: XBRL DOCUMENT
v3.22.2

Stock-Based Compensation Plans - Employee Stock Purchase Plan - Additional Information (Detail) | 6 Months Ended
--- | ---
Jun. 30, 2022 USD ($) shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Common stock shares available for issuance | 3,990,582
Unrecognized stock-based compensation expense | $ | $ 60,111,000
Unrecognized stock-based compensation expenses recognition period | 4 years 10 days
Employee Stock Purchase Plan [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
ESPP offering period description | The offering periods generally start on the first trading day on or after May 15 and November 15 of each year.
Length of purchase intervals | 6 months
ESPP discount rate | 10.00%
Initial Common stock reserved | 366,667
Common stock shares available for issuance | 145,636
Unrecognized stock-based compensation expense | $ | $ 98,000
Unrecognized stock-based compensation expenses recognition period | 4 months 17 days
Employee Stock Purchase Plan - Annual Available for Issuance Share Increase [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Common stock available for future issuance authorized annual share increase | 366,667
Common stock available for future issuance authorized annual percentage increase | 1.00%
ESPP description | The ESPP provides for annual increases in the number of shares available for issuance under the ESPP, equal to the least of (i) 366,667 shares, (ii) 1% of the outstanding shares on such date, or (iii) an amount determined by the compensation committee of the Board of Directors.

X
- Definition Employee Stock Purchase Plan, description. + References No definition available. + Details
Name: | mmi_EmployeeStockPurchasePlanDescription
Namespace Prefix: | mmi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Employee Stock Purchase Plan Offering Period Description + References No definition available. + Details
Name: | mmi_EmployeeStockPurchasePlanOfferingPeriodDescription
Namespace Prefix: | mmi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Annual share increase in share reserve allowed under the 2013 Plan. + References No definition available. + Details
Name: | mmi_ShareBasedCompensationArrangementByShareBasedPaymentAwardAvailableShareIncrease
Namespace Prefix: | mmi_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the length of purchase intervals. + References No definition available. + Details
Name: | mmi_ShareBasedCompensationArrangementByShareBasedPaymentAwardLengthOfPurchaseIntervals
Namespace Prefix: | mmi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of available share increase in share reserve allowed under the 2013 Equity and 2013 ESPP plans, calculated as a percentage of outstanding shares. + References No definition available. + Details
Name: | mmi_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfAvailableShareIncrease
Namespace Prefix: | mmi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discount rate from fair value on purchase date that participants pay for shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPricePurchaseDate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_AwardTypeAxis=mmi_EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=mmi_EmployeeStockPurchasePlanAnnualAvailableForIssuanceShareIncreaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |