XML 77 R60.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Subsequent Events (Details) - Incyte Corporation (Incyte) - Incyte MGA012 Agreement - USD ($) $ in Millions | 1 Months Ended | 3 Months Ended
--- | --- | ---
Jan. 31, 2022 | Mar. 31, 2018
Subsequent Event [Line Items] |  |
Non-refundable upfront payment |  | $ 150.0
Revenues From License Agreements | Forecast |  |
Subsequent Event [Line Items] |  |
Non-refundable upfront payment | $ 10.0 |

X
- Definition Initial fee received from collaboration or license agreement. + References No definition available. + Details
Name: | mgnx_NonRefundableUpfrontFees
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis=mgnx_IncyteMGA012AgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=mgnx_RevenuesFromLicenseAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |