XML 52 R40.htm IDEA: XBRL DOCUMENT
v3.21.2

Investments in Marketable Securities - Additional Information (Detail) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2021 USD ($) | Dec. 31, 2020 USD ($)
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale, securities in unrealized loss positions, accumulated loss | $ 45,000 | $ 50,000
Allowance for credit losses | $ 0 |
Weighted average contractual maturity | 1 year 9 months 18 days | 1 year 7 months 6 days
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 9 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 | 28 |
Available-for-sale, securities in unrealized loss positions, accumulated loss | $ 45,000 |
Percentage of amortized cost | 0.10% |

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: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale in a continuous loss position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27337-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121582814&loc=SL82922900-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 9 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=121582814&loc=SL82922900-210455 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aaa) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121558606&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 http://asc.fasb.org/extlink&oid=121645371&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 http://asc.fasb.org/extlink&oid=121582814&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: |