XML 38 R27.htm IDEA: XBRL DOCUMENT
v3.23.1

Royalty Monetization Arrangement - Rollforward (Details) - USD ($) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2023 | Mar. 31, 2022 | Dec. 31, 2022
Liability related to future royalties [Roll Forward] |  |  |
Proceeds from sale of future royalties | $ 100,000 |  |
Deferred transaction costs | (344) |  |
Non-cash interest expense recognized | 656 | $ 0 |
Liability related to future royalties [Abstract] | 100,222 |  | $ 0
Non-cash royalty revenue | $ (90) | $ 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 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 Liability related to future royalties + References No definition available. + Details
Name: | mgnx_LiabilityRelatedToFutureRoyaltiesRollForward
Namespace Prefix: | mgnx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 Non-cash Royalty Revenue + References No definition available. + Details
Name: | mgnx_NonCashRoyaltyRevenue
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