XML 43 R34.htm IDEA: XBRL DOCUMENT
v3.23.1

Investments in Marketable Debt Securities, Available-for-Sale - Schedule of Amortized Cost and Fair Value of Marketable Securities, Available-for-Sale, by Type of Security (Detail) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | $ 207,001 | $ 327,501
Fair Value | 203,013 | 322,029
Short-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 133,178 | 254,682
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 13 | 15
Gross Unrealized Losses | (671) | (1,263)
Fair Value | 132,520 | 253,434
Long-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 73,823 | 72,819
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 82 | 21
Gross Unrealized Losses | (3,412) | (4,245)
Fair Value | 70,493 | 68,595
U.S. treasuries | Short-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 56,992 | 135,688
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 8 | 14
Gross Unrealized Losses | (561) | (1,153)
Fair Value | 56,439 | 134,549
U.S. treasuries | Long-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 18,083 | 21,434
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | (501) | (719)
Fair Value | 17,582 | 20,715
U.S. government sponsored entities | Long-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 586 | 602
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | (56) | (66)
Fair Value | 530 | 536
Corporate debt | Short-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 75,935 | 118,135
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 5 | 1
Gross Unrealized Losses | (97) | (95)
Fair Value | 75,843 | 118,041
Corporate debt | Long-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 45,869 | 44,214
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 72 | 21
Gross Unrealized Losses | (2,368) | (2,877)
Fair Value | 43,573 | 41,358
Asset-backed securities (“ABS”) and other | Short-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 251 | 859
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | (13) | (15)
Fair Value | 238 | 844
Asset-backed securities (“ABS”) and other | Long-term investments: |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 9,285 | 6,569
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 10 | 0
Gross Unrealized Losses | (487) | (583)
Fair Value | $ 8,808 | $ 5,986

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of 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 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of 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 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
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 https://asc.fasb.org/extlink&oid=124269663&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 https://asc.fasb.org/extlink&oid=124269663&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 https://asc.fasb.org/extlink&oid=126970911&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 https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: | us-gaap_BalanceSheetLocationAxis=us-gaap_ShortTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=mmi_LongTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_AssetBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |