XML 34 R23.htm IDEA: XBRL DOCUMENT
v3.25.1

Nature of Operations - Narrative (Details) $ in Billions | 3 Months Ended | 56 Months Ended
--- | --- | ---
Mar. 31, 2025 productCandidate | Mar. 31, 2025 USD ($)
Organization, Consolidation and Presentation of Financial Statements [Abstract] |  |
Number of product candidates approved by the FDA | 3 |
Non-dilutive funding | $ |  | $ 1.4
Number of proprietary product candidates advancing in clinical development | 3 |

X
- Definition Non-dilutive funding + References No definition available. + Details
Name: | mgnx_NonDilutiveFunding
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number Of Product Candidates Approved By The Food And Drug Administration + References No definition available. + Details
Name: | mgnx_NumberOfProductCandidatesApprovedByTheFoodAndDrugAdministration
Namespace Prefix: | mgnx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Proprietary Product Candidates Advancing In Clinical Development + References No definition available. + Details
Name: | mgnx_NumberOfProprietaryProductCandidatesAdvancingInClinicalDevelopment
Namespace Prefix: | mgnx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration