XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.21.2

Investments in Marketable Securities - Schedule of Amortized Cost and Fair Value of Marketable Securities, Available-for-Sale, by Type of Security (Detail) - USD ($) $ in Thousands | Jun. 30, 2021 | Dec. 31, 2020
--- | --- | ---
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | $ 242,630 | $ 203,329
Allowance for Credit Losses | 0 |
Fair Value | 244,686 | 206,031
Short-term investments [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 147,142 | 158,148
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 31 | 116
Gross Unrealized Losses | (1) | (6)
Fair Value | 147,172 | 158,258
Short-term investments [Member] | U.S. Treasuries [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 74,424 | 75,887
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 12 | 88
Gross Unrealized Losses | 0 | (5)
Fair Value | 74,436 | 75,970
Short-term investments [Member] | U.S. Government Sponsored Entities [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost |  | 32,439
Allowance for Credit Losses |  | 0
Gross Unrealized Gains |  | 8
Gross Unrealized Losses |  | 0
Fair Value |  | 32,447
Short-term investments [Member] | Corporate debt [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 72,718 | 49,822
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 19 | 20
Gross Unrealized Losses | (1) | (1)
Fair Value | 72,736 | 49,841
Long-term marketable securities [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 95,488 | 45,181
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 2,070 | 2,636
Gross Unrealized Losses | (44) | (44)
Fair Value | 97,514 | 47,773
Long-term marketable securities [Member] | U.S. Treasuries [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 52,033 | 3,375
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 185 | 266
Gross Unrealized Losses | (22) | 0
Fair Value | 52,196 | 3,641
Long-term marketable securities [Member] | U.S. Government Sponsored Entities [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 888 | 1,114
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 27 | 38
Gross Unrealized Losses | (2) | 0
Fair Value | 913 | 1,152
Long-term marketable securities [Member] | Corporate debt [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 35,998 | 34,183
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 1,669 | 2,137
Gross Unrealized Losses | (18) | (33)
Fair Value | 37,649 | 36,287
Long-term marketable securities [Member] | Asset-backed Securities ("ABS") and Other [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Amortized Cost | 6,569 | 6,509
Allowance for Credit Losses | 0 | 0
Gross Unrealized Gains | 189 | 195
Gross Unrealized Losses | (2) | (11)
Fair Value | $ 6,756 | $ 6,693

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 http://asc.fasb.org/extlink&oid=121645371&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 http://asc.fasb.org/extlink&oid=121645371&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 http://asc.fasb.org/extlink&oid=121645371&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 http://asc.fasb.org/extlink&oid=121558606&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 http://asc.fasb.org/extlink&oid=120398452&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 http://asc.fasb.org/extlink&oid=121558606&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 http://asc.fasb.org/extlink&oid=121553693&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 http://asc.fasb.org/extlink&oid=121645371&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 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 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_InvestmentTypeAxis=us-gaap_ShortTermInvestmentsMember
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_InvestmentTypeAxis=mmi_LongTermInvestmentsMember
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: |