XML 39 R26.htm IDEA: XBRL DOCUMENT
v3.21.2

Collaboration and Other Agreements - Zai Lab (Details) - USD ($) $ / shares in Units, $ in Thousands | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | ---
Jun. 30, 2021 | Jun. 30, 2020 | Mar. 31, 2020 | Jun. 30, 2021 | Jun. 30, 2020 | Dec. 31, 2018 | Jun. 15, 2021 | Dec. 31, 2020
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |  |
Revenues | $ 30,757 | $ 20,257 |  | $ 47,638 | $ 33,939 |  |  |
Common stock, par value (in dollars per share) | $ 0.01 |  |  | $ 0.01 |  |  |  | $ 0.01
Deferred revenue, current | $ 16,565 |  |  | $ 16,565 |  |  |  | $ 4,456
Deferred revenue, net of current portion | 13,476 |  |  | 13,476 |  |  |  | 6,926
2018 Zai Lab Agreement | Zai Labs |  |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |  |
Non-refundable upfront payment |  |  |  |  |  | $ 25,000 |  |
Non-refundable upfront payment, net of tax withholding |  |  |  |  |  | 22,500 |  |
Nonrefundable payment tax withholding |  |  |  |  |  | $ 2,500 |  |
Potential development and regulatory milestone payments under agreement |  |  | $ 140,000 |  |  |  |  |
Revenues |  |  | 4,000 |  |  |  |  |
Revenues, net of tax withholding |  |  | 3,600 |  | 3,600 |  |  |
Revenues, tax withholding |  |  | $ 400 |  |  |  |  |
Deferred revenue | 0 |  |  | 0 |  |  |  | $ 0
Zai Lab Clinical Supply Agreements | Zai Labs |  |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |  |
Revenues | 500 | $ 300 |  | 1,600 | $ 1,300 |  |  |
Zai Lab Agreement, Margetuximab | Zai Labs | Maximum |  |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |  |
Potential proceeds from royalties (percent) |  |  |  |  |  | 20.00% |  |
Zai Lab Agreement, TRIDENT molecule | Zai Labs |  |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |  |
Potential proceeds from royalties (percent) |  |  |  |  |  | 10.00% |  |
2021 Zai Lab Agreements | Zai Labs |  |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |  |
Non-refundable upfront payment |  |  |  | 25,000 |  |  |  |
Potential development and regulatory milestone payments under agreement |  |  |  |  |  |  | $ 800,000 |
Revenues | 14,400 |  |  | 14,400 |  |  |  |
Deferred revenue | 21,000 |  |  | 21,000 |  |  |  |
Opt-in fee |  |  |  |  |  |  | $ 85,000 |
Proceeds of stock sale |  |  |  | 30,000 |  |  |  |
Sales of stock purchase price (in dollars per share) |  |  |  |  |  |  | $ 31.30 |
Potential commercial milestone payments under agreement |  |  |  |  |  |  | $ 600,000 |
Collaborative agreement transaction price |  |  |  |  |  |  | $ 40,400 |
Variable consideration recognized |  |  |  | 5,000 |  |  |  |
Deferred revenue, current | 13,200 |  |  | 13,200 |  |  |  |
Deferred revenue, net of current portion | $ 7,800 |  |  | 7,800 |  |  |  |
2021 Zai Lab Agreements | Zai Labs | Additional Paid-In Capital |  |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |  |
Premium received on stock purchase |  |  |  | $ 10,400 |  |  |  |

X
- References No definition available. + Details
Name: | mgnx_CollaborativeAgreementTransactionPrice
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgnx_NonRefundableUpfrontFees
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Nonrefundable 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
- References No definition available. + Details
Name: | mgnx_PotentialCommercialMilestonePaymentsUnderAgreement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition PremiumReceivedOnStockPurchase + References No definition available. + Details
Name: | mgnx_PremiumReceivedOnStockPurchase
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | mgnx_ProceedsfromRoyaltiesPercent
Namespace Prefix: | mgnx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue, Multiple-Deliverable Arrangements, Determination Of Selling Price, Amount + References No definition available. + Details
Name: | mgnx_RevenueMultipleDeliverableArrangementsDeterminationOfSellingPriceAmount
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

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=121556615&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=121604090&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=121556615&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 obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. + 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=121556615&loc=SL49130531-203044 Reference 2: 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=121556615&loc=SL49130532-203044 Reference 3: 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=121604090&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as noncurrent. + References Reference 1: 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=121556615&loc=SL49130532-203044 Reference 2: 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=121556615&loc=SL49130531-203044 Reference 3: 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=121604090&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityNoncurrent
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=120311839&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=75031198&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=120311839&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=120311839&loc=d3e8933-108599 Reference 6: 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=120311839&loc=d3e8736-108599 Reference 7: 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=120311839&loc=d3e9031-108599 Reference 8: 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=120311839&loc=d3e8906-108599 Reference 9: 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=120311839&loc=d3e9038-108599 Reference 10: 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=120311839&loc=d3e9054-108599 Reference 11: 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 12: 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 13: 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=120395209&loc=SL114868664-224227 + Details
Name: | us-gaap_Revenues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Cash received on stock transaction after deduction of issuance costs. + References No definition available. + Details
Name: | us-gaap_SaleOfStockConsiderationReceivedOnTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis=mgnx_A2018ZaiLabCollaborationAndLicenseAgreementMember
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: | us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis=mgnx_ZaiLabClinicalSupplyAgreementsMember
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_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_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: |