XML 62 R43.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Royalty Monetization Arrangement Rollforward (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2023 | Jun. 30, 2023 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Royalty Monetization Arrangement [Abstract] |  |  |  |  |
Liability related to future royalties |  |  | $ 0 | $ 0 |
Proceeds from sale of future royalties |  |  | 150,000 |  |
Deferred transaction costs |  |  | (343) |  |
Principal payments on royalty monetization arrangement |  |  | (157) | 0 | $ 0
Non-cash interest expense |  |  | 1,430 | 0 | 0
Gain on royalty monetization arrangement | $ (50,000) | $ (100,900) | $ (150,930) | $ 0 | $ 0

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 Gain on royalty monetization arrangement + References No definition available. + Details
Name: | mgnx_GainOnRoyaltyMonetizationArrangement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Liability related to future royalties + References No definition available. + Details
Name: | mgnx_LiabilityRelatedToFutureRoyalties
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Non-cash interest expense recognized + References No definition available. + Details
Name: | mgnx_NonCashInterestExpenseRecognized
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Principal payments on royalty monetization arrangement + References No definition available. + Details
Name: | mgnx_PrincipalPaymentsOnRoyaltyMonetizationArrangement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: | credit
Period Type: | duration

X
- Definition Royalty Monetization Arrangement [Abstract] + References No definition available. + Details
Name: | mgnx_RoyaltyMonetizationArrangementAbstract
Namespace Prefix: | mgnx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration