XML 32 R21.htm IDEA: XBRL DOCUMENT
v3.23.1

Royalty Monetization Arrangement (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2023
Liability related to future royalties [Abstract] |
Liability Related to Future Royalty | Changes to the liability related to future royalties were as follows for the three months ended March 31, 2023 (in thousands):
Liability related to future royalties - beginning balance |  | $ | — |
Proceeds from sale of future royalties |  | 100,000 |
Deferred transaction costs |  | (344) |
Non-cash royalty revenue payable to DRI |  | (90) |
Non-cash interest expense recognized |  | 656 |
Liability related to future royalties - ending balance |  | $ | 100,222 |

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

X
- Definition Liability Related to Future Royalty + References No definition available. + Details
Name: | mgnx_LiabilityRelatedToFutureRoyaltyTableTextBlock
Namespace Prefix: | mgnx_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration