XML 54 R34.htm IDEA: XBRL DOCUMENT
v3.25.1

Organization and Nature of Operations (Details) $ in Millions | 12 Months Ended | 53 Months Ended
--- | --- | ---
Dec. 31, 2024 productCandidate | Dec. 31, 2024 USD ($)
Organization, Consolidation and Presentation of Financial Statements [Abstract] |  |
Number of product candidates approved by the FDA | 3 |
Non-dilutive funding | $ |  | $ 1,400.0
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