XML 65 R44.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Lease Exit Liability Lease Exit Liability - Narrative (Details) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2016 | May 31, 2016
Restructuring Cost and Reserve [Line Items] |  |
Future sublease payments to be received | $ 0.9 |
Reduction in research and development expense | $ 1.3 |
Raven Biotechnologies Inc. |  |
Restructuring Cost and Reserve [Line Items] |  |
Future sublease payments to be received |  | $ 1.3

X
- Definition Reduction In Research And Development Expense + References No definition available. + Details
Name: | mgnx_ReductionInResearchAndDevelopmentExpense
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Contractually required future rental payments receivable on noncancelable subleasing arrangements. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mgnx_RavenBiotechnologiesIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |