XML 74 R50.htm IDEA: XBRL DOCUMENT
v3.20.4

Collaboration and Other Agreements - Provention (Details) - USD ($) $ / shares in Units, $ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
May 31, 2018 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Collaboration and Other Agreements [Line Items] |  |  |  |
Revenues |  | $ 104,883 | $ 64,188 | $ 60,121
Deferred revenue |  | 4,456 | 10,700 |
Deferred revenue included in long-term liabilities |  | $ 6,926 | $ 9,153 |
Provention Bio, Inc. (Provention) |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |
Transaction price | $ 6,100 |  |  |
Stock warrants (in shares) | 2,432,688 |  |  |
Provention License Agreement | Provention PRV3279 | Provention Bio, Inc. (Provention) |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |
Consideration received common stock warrant exercise price (in usd per share) | $ 2.50 |  |  |
Potential development and regulatory milestone payments | $ 65,000 |  |  |
Potential commercial milestone payments | $ 225,000 |  |  |
Asset Purchase Agreement | Provention PRV031 | Provention Bio, Inc. (Provention) |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |
Consideration received common stock warrant exercise price (in usd per share) | $ 2.50 |  |  |
Potential development and regulatory milestone payments | $ 170,000 |  |  |
Potential commercial milestone payments | 225,000 |  |  |
Potential milestone payment to third parties for intellectual property under agreement | 1,300 |  |  |
Revenues From License Agreements | Provention Bio, Inc. (Provention) |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |
Revenues | $ 6,100 |  |  |

X
- Definition Collaborative Agreement Consideration Received Common Stock Warrant Exercise Price Per Share + References No definition available. + Details
Name: | mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantExercisePricePerShare
Namespace Prefix: | mgnx_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Collaborative Agreement Consideration Received Common Stock Warrants Number Of Shares + References No definition available. + Details
Name: | mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantsNumberOfShares
Namespace Prefix: | mgnx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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 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 Potential Milestone Payment To Third Parties For Intellectual Property Under Agreement + References No definition available. + Details
Name: | mgnx_PotentialMilestonePaymentToThirdPartiesForIntellectualPropertyUnderAgreement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 deferred income and obligation to transfer product and 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 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(5)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredRevenueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred income and obligation to transfer product and 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 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(5)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredRevenueNoncurrent
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
- Details
Name: | srt_CounterpartyNameAxis=mgnx_ProventionBioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=mgnx_ProventionLicenseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=mgnx_AssetPurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis=mgnx_ProventionPRV031Member
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: |