XML 67 R56.htm IDEA: XBRL DOCUMENT
v3.23.3

Income taxes - Narrative (Details) | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2023 USD ($) shares | Sep. 30, 2022 USD ($) | Sep. 30, 2023 USD ($) shares | Sep. 30, 2022 USD ($) | Dec. 31, 2022 USD ($)
Income Tax Disclosure [Line Items] |  |  |  |  |
Effective income tax rate | (0.50%) | 2.50% | (0.60%) | (2.80%) |
Statutory federal tax rate |  |  | 21.00% |  |
Conversion of stock (in shares) | shares | 0 |  | 776,000 |  |
Stockholder's equity, exchange ratio | 1 |  | 1 |  |
Deferred tax assets, valuation allowance | $ 87,300,000 |  | $ 87,300,000 |  | $ 91,800,000
Liability on tax receivable agreement |  |  | 0 |  |
Unrecognized liability on tax receivable agreement |  |  | 88,000,000 |  |
Payments pursuant to tax receivable agreement |  |  | 2,822,000 | $ 216,000 |
Tax Receivables Agreement |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |
Liabilities under tax receivables agreement, net of current portion | 0 |  | 0 |  | $ 2,800,000
Tax Receivables Agreement | Related Party |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |
Payments pursuant to tax receivable agreement | $ 0 | $ 0 | $ 2,800,000 | $ 200,000 |

X
- Definition Income tax disclosure. + References No definition available. + Details
Name: | max_IncomeTaxDisclosureLineItems
Namespace Prefix: | max_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Liability On Tax Receivable Agreement + References No definition available. + Details
Name: | max_LiabilityOnTaxReceivableAgreement
Namespace Prefix: | max_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Liability On Tax Receivable Agreement If Determined Probable, Unrecorded Tax Liability + References No definition available. + Details
Name: | max_LiabilityOnTaxReceivableAgreementIfDeterminedProbableUnrecordedTaxLiability
Namespace Prefix: | max_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Payments For Tax Receivable Agreement + References No definition available. + Details
Name: | max_PaymentsForTaxReceivableAgreement
Namespace Prefix: | max_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Stockholder's Equity, Common Stock, Exchange Ratio + References No definition available. + Details
Name: | max_StockholdersEquityCommonStockExchangeRatio
Namespace Prefix: | max_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-4 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-3 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-5 + Details
Name: | us-gaap_ConversionOfStockSharesConverted1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482525/740-10-45-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482525/740-10-45-6 + Details
Name: | us-gaap_DeferredIncomeTaxLiabilitiesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-2 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-12 + Details
Name: | us-gaap_EffectiveIncomeTaxRateContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-12 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.Fact.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479360/740-10-S99-1 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=max_TaxReceivablesAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |