XML 40 R27.htm IDEA: XBRL DOCUMENT
v3.19.2

Collaboration and Other Agreements - Incyte (Details) $ in Thousands | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Oct. 31, 2017 USD ($) | Jun. 30, 2019 USD ($) | Jun. 30, 2018 USD ($) | Dec. 31, 2017 USD ($) performance_obligation | Jun. 30, 2019 USD ($) | Jun. 30, 2018 USD ($) | Dec. 31, 2018 USD ($)
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |
Revenues |  | $ 10,593 | $ 18,834 |  | $ 20,255 | $ 23,529 |
Incyte Corporation | Incyte MGA012 Agreement |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |
Non-refundable upfront payment |  |  |  | $ 150,000 |  |  |
Potential development and regulatory milestone payments under agreement | $ 420,000 |  |  |  |  |  |
Potential commercial milestone payments under agreement | 330,000 |  |  |  |  |  |
Development and regulatory milestones recognized |  |  |  |  | 15,000 |  | $ 15,000
Number of performance obligations | performance_obligation |  |  |  | 2 |  |  |
Collaborative agreement transaction price | 154,000 |  |  |  |  |  |
Variable consideration recognized | $ 4,000 |  |  |  |  |  |
Maximum | Incyte Corporation | Incyte MGA012 Agreement |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |
Proceeds from royalties (percent) | 24.00% |  |  |  |  |  |
Minimum | Incyte Corporation | Incyte MGA012 Agreement |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |
Proceeds from royalties (percent) | 15.00% |  |  |  |  |  |
Revenues From License Agreements | Incyte Corporation | Incyte MGA012 Agreement |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |
Revenues | $ 150,000 |  |  |  | 8,200 |  |
Revenues From License Agreements | Incyte Corporation | Incyte MGA012 Agreement - Clinical activities |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |
Revenues |  | 0 | 600 |  | $ 100 | 3,100 |
Revenues From License Agreements | Incyte Corporation | Incyte MGA012 Agreement - Services |  |  |  |  |  |  |
Collaboration And Other Agreements [Line Items] |  |  |  |  |  |  |
Revenues |  | $ 4,200 | $ 9,900 |  |  | $ 9,900 |

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

X
- Definition Development And Regulatory Milestone Payments Under Agreement, Recognized + References No definition available. + Details
Name: | mgnx_DevelopmentAndRegulatoryMilestonePaymentsUnderAgreementRecognized
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- References No definition available. + Details
Name: | mgnx_NumberOfPerformanceObligations
Namespace Prefix: | mgnx_
Data Type: | xbrli:integerItemType
Balance Type: | na
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
- References No definition available. + Details
Name: | mgnx_ProceedsfromRoyaltiesPercent
Namespace Prefix: | mgnx_
Data Type: | num:percentItemType
Balance Type: | na
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 Represents the value established as the selling price of the significant unit of accounting used to allocate the consideration of the multiple-deliverable arrangement. + References No definition available. + Details
Name: | us-gaap_RevenueRecognitionMultipleDeliverableArrangementsDeterminationOfSellingPriceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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=115929826&loc=d3e8736-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -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=115205541&loc=SL114868664-224227 Reference 3: 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=115929826&loc=d3e8933-108599 Reference 4: 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=115929826&loc=d3e8736-108599 + 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_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_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
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: | us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis=mgnx_IncyteMGA012AgreementClinicalActivitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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