XML 40 R31.htm IDEA: XBRL DOCUMENT
v3.23.1

Description of Business and Basis of Presentation - Narrative (Detail) - office | 3 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
Class of Stock [Line Items] |  |
Number of offices | 80 |
Percentage of common stock distributed | 80.00% |
Commission's receivable settled period | 10 days |
Guarantee obligations | 16.70% |
Total Revenues | Geographic Concentration Risk | Canada | Customer |  |
Class of Stock [Line Items] |  |
Concentration risk percentage | 2.90% | 2.20%

X
- Definition Number of office. + References No definition available. + Details
Name: | mmi_NumberOfOffices
Namespace Prefix: | mmi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of company post IPO common stock distributed by the Parent company before the IPO in the IPO. + References No definition available. + Details
Name: | mmi_PercentageOfCommonStockDistributed
Namespace Prefix: | mmi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of settlement for receivable balances. + References No definition available. + Details
Name: | mmi_PeriodOfSettlementForReceivableBalances
Namespace Prefix: | mmi_
Data Type: | xbrli:durationItemType
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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates, if estimable, (as a percentage) the approximate extent to which the proceeds from liquidation of any assets held either as collateral or by third parties would be expected to cover the maximum potential amount of future payments under the guarantee or each group of similar guarantees. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248 + Details
Name: | us-gaap_GuaranteeObligationsLiquidationProceedsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_SalesRevenueNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_GeographicConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mmi_CustomerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |