XML 61 R42.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Royalty Monetization Arrangement (Details) - USD ($) $ in Thousands |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Mar. 08, 2023 | Sep. 30, 2023 | Jun. 30, 2023 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Liability related to future royalty [Line Items] |  |  |  |  |  |
Gain on royalty monetization arrangement |  | $ 50,000 | $ 100,900 | $ 150,930 | $ 0 | $ 0
DRI Healthcare Acquisitions LP (DRI) |  |  |  |  |  |
Liability related to future royalty [Line Items] |  |  |  |  |  |
Upfront payment from DRI Health Trust | $ 100,000 |  |  |  |  |
Potential proceeds from royalties percent | 50.00% |  |  |  |  |
Future revenue from DRI | $ 50,000 |  |  | $ 50,000 |  |
Transaction cost | $ 300 |  |  |  |  |

X
- Definition Future Revenue + References No definition available. + Details
Name: | mgnx_FutureRevenue
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 royalty + References No definition available. + Details
Name: | mgnx_LiabilityRelatedToFutureRoyaltyLineItems
Namespace Prefix: | mgnx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proceeds from Royalties, Percent + References No definition available. + Details
Name: | mgnx_ProceedsfromRoyaltiesPercent
Namespace Prefix: | mgnx_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Transaction Cost + References No definition available. + Details
Name: | mgnx_TransactionCost
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Upfront Payment + References No definition available. + Details
Name: | mgnx_UpfrontPayment
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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