XML 40 R28.htm IDEA: XBRL DOCUMENT
v3.25.2

Royalty Monetization Arrangement - Narrative (Details) - USD ($) $ in Thousands | 1 Months Ended | 3 Months Ended | 6 Months Ended
--- | --- | --- | ---
Jun. 30, 2025 | Jun. 30, 2025 | Jun. 30, 2025 | Jun. 30, 2024
Liability related to future royalty [Line Items] |  |  |  |
Net proceeds from sale of future royalties |  |  | $ 69,673 | $ 0
Royalty Monetization Arrangement |  |  |  |
Liability related to future royalty [Line Items] |  |  |  |
Effective interest rate | 14.60% | 14.60% | 14.60% |
Sagard Healthcare Partners | Royalty Monetization Arrangement |  |  |  |
Liability related to future royalty [Line Items] |  |  |  |
Proceeds from sale of future royalties | $ 70,000 |  | $ 70,000 |
Royalty payment threshold | 140,000 | $ 140,000 | 140,000 |
Deferred transaction costs | 300 |  | 327 |
Net proceeds from sale of future royalties | $ 69,700 |  |  |
Non-cash interest expense recognized |  | $ 600 | $ 587 |

X
- Definition Deferred transaction costs + References No definition available. + Details
Name: | mgnx_DeferredTransactionCosts
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Liability related to future royalty [Line Items] + References No definition available. + Details
Name: | mgnx_LiabilityRelatedToFutureRoyaltyLineItems
Namespace Prefix: | mgnx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net proceeds from sale of future royalties + References No definition available. + Details
Name: | mgnx_NetProceedsFromSaleOfFutureRoyalties
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Proceeds from sale of future royalties + References No definition available. + Details
Name: | mgnx_ProceedsFromSaleOfFutureRoyalties
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Royalty Monetization Arrangement, Interest Rate, Effective Percentage + References No definition available. + Details
Name: | mgnx_RoyaltyMonetizationArrangementInterestRateEffectivePercentage
Namespace Prefix: | mgnx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Royalty Monetization Arrangement, Royalty Payment Threshold + References No definition available. + Details
Name: | mgnx_RoyaltyMonetizationArrangementRoyaltyPaymentThreshold
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of interest expense classified as nonoperating. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-4 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-14 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_InterestExpenseNonoperating
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | srt_CounterpartyNameAxis=mgnx_SagardHealthcarePartnersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |