XML 47 R34.htm IDEA: XBRL DOCUMENT
v3.22.2

Investments in Marketable Debt Securities, Available-for-Sale - Additional Information (Detail) $ in Millions | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2022 USD ($) | Dec. 31, 2021
Schedule of Available-for-sale Securities [Line Items] |  |
Weighted average contractual maturity | 1 year 3 months 18 days | 1 year 6 months
Fitch, AA Rating [Member] | Moody's, Aaa Rating [Member] | Standard & Poor's, AA Rating [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Weighted average contractual maturity | 1 year 3 months 18 days |
Fitch, AA+ Rating [Member] | Moody's, Aa3 Rating [Member] | Standard & Poor's, AA+ Rating [Member] | Weighted Average Credit AA Plus Rating [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale, securities number of unrealized loss positions | 216 |
Available-for-sale, securities in unrealized loss positions, accumulated loss | $ 4.6 |
Percentage of amortized cost | 1.00% |

X
- Definition Available for sale securities continuous unrealized loss positions accumulated loss. + References No definition available. + Details
Name: | mmi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionsAccumulatedLoss
Namespace Prefix: | mmi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available For Sale Securities Weighted Average Maturity + References No definition available. + Details
Name: | mmi_AvailableForSaleSecuritiesWeightedAverageMaturity
Namespace Prefix: | mmi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage Of Amortized Cost. + References No definition available. + Details
Name: | mmi_PercentageOfAmortizedCost
Namespace Prefix: | mmi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_CreditRatingFitchAxis=srt_FitchAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingMoodysAxis=srt_MoodysAaaRatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=srt_StandardPoorsAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingFitchAxis=srt_FitchAAPlusRatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingMoodysAxis=srt_MoodysAa3RatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=srt_StandardPoorsAAPlusRatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mmi_CreditRatingWeightedAverageAxis=mmi_WeightedAverageCreditAaPlusRatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |