XML 70 R53.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Collaboration and Other Agreements - Zai Lab (Details) - USD ($) $ in Thousands | 1 Months Ended | 2 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | ---
Jun. 30, 2021 | Nov. 30, 2018 | Feb. 24, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Jun. 15, 2021 | Feb. 29, 2020
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Revenues |  |  |  | $ 77,447 | $ 104,883 | $ 64,188 |  |
Zai Lab Agreement | Zai Lab |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Non-refundable upfront payment |  | $ 25,000 |  |  |  |  |  |
Tax withholding |  | $ 2,500 |  |  |  |  |  |
Potential development and regulatory milestone payments |  |  |  | 140,000 |  |  |  |
Entitled milestone payments |  |  |  |  |  |  |  | $ 3,600
Zai Lab Agreement, Margetuximab | Zai Lab | Maximum |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Potential proceeds from royalties percent |  | 20.00% |  |  |  |  |  |
Zai Lab Agreement, TRIDENT molecule | Zai Lab |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Potential proceeds from royalties percent |  | 10.00% |  |  |  |  |  |
Zai Lab Clinical Supply Agreements | Zai Lab |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Revenues |  |  |  | 2,800 | 2,700 |  |  |
Zai Lab Collaboration And License Agreement | Zai Lab |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Non-refundable upfront payment, net of tax withholding |  | $ 22,500 |  |  |  |  |  |
Revenues |  |  |  |  | 4,000 |  |  |
Revenues, tax withholding |  |  |  |  | 400 |  |  |
Zai Lab Collaboration And License Agreement | Zai Lab | Subsequent Event |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Revenues |  |  | $ 5,000 |  |  |  |  |
2018 Zai Lab Collaboration And License Agreement | Zai Lab |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Revenues, Net Of Tax Withholding |  |  |  |  | $ 8,600 |  |  |
Deferred revenue |  |  |  | 0 |  |  |  |
2021 Zai Lab Agreements | Zai Lab |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Non-refundable upfront payment | $ 25,000 |  |  |  |  |  |  |
Potential development and regulatory milestone payments |  |  |  |  |  |  | $ 800,000 |
Revenues |  |  |  | 20,300 |  |  |  |
Deferred revenue |  |  |  | 16,100 |  |  |  |
Estimated Reimbursement for Research and Development t |  |  |  | $ 5,000 |  |  |  |
Opt-in Fee |  |  |  |  |  |  | 85,000 |
Potential commercial milestone payments |  |  |  |  |  |  | 600,000 |
Transaction price |  |  |  |  |  |  | $ 40,400 |
2021 Zai Lab Agreements | Zai Lab | Additional Paid-In Capital |  |  |  |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |  |  |  |
Premium received on stock purchase | $ 10,400 |  |  |  |  |  |  |

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

X
- Definition Entitled Milestone Payments Under Agreement + References No definition available. + Details
Name: | mgnx_EntitledMilestonePaymentsUnderAgreement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Estimated Reimbursement for Research and Development t + References No definition available. + Details
Name: | mgnx_EstimatedReimbursementForResearchAndDevelopmentT
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Non-refundable Payment, Tax Withholding + References No definition available. + Details
Name: | mgnx_NonrefundablePaymentTaxWithholding
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Nonrefundable Upfront Fees, Net Of Tax Withholding + References No definition available. + Details
Name: | mgnx_NonrefundableUpfrontFeesNetOfTaxWithholding
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Opt-in Fee + References No definition available. + Details
Name: | mgnx_OptInFee
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Potential Commercial Milestone Payments Under Agreement + References No definition available. + Details
Name: | mgnx_PotentialCommercialMilestonePaymentsUnderAgreement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Potential Development and Regulatory Milestone Payments Under Agreement + References No definition available. + Details
Name: | mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount by which purchase price exceeds fair value for common stock purchased by collaborator. + References No definition available. + Details
Name: | mgnx_PremiumReceivedOnStockPurchase
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Revenues, Net Of Tax Withholding + References No definition available. + Details
Name: | mgnx_RevenuesNetOfTaxWithholding
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Revenues, Tax Withholding + References No definition available. + Details
Name: | mgnx_RevenuesTaxWithholding
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123360276&loc=SL49130531-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123360276&loc=SL49130532-203044 + Details
Name: | us-gaap_ContractWithCustomerLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 40 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 235 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-05(b)(2)) -URI http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 22: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(1)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_Revenues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

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

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

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |