XML 59 R38.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Stock- based Compensation - Stock-Based Compensation Expense (Details) - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended | 84 Months Ended |  |
--- | --- | --- | --- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014 | Dec. 31, 2012 | Oct. 31, 2013 | Feb. 28, 2003
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, options, outstanding, number (in shares) | 3,838,060 | 4,146,064 |  |  |  |
Weighted average exercise price (in dollars per share) | $ 18.93 | $ 16.90 |  |  |  |
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] |  |  |  |  |  |
Stock-based compensation expense | $ 12,165 | $ 7,847 | $ 3,244 |  |  |
Equity Incentive Plan 2003 |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Share-based compensation, number of shares authorized (in shares) |  |  |  |  |  | 2,051,644
Increased number of shares authorized (in shares) |  |  |  | 4,336,730 |  |
Share-based compensation arrangement by share-based payment award, options, outstanding, number (in shares) | 1,193,941 |  |  |  |  |
Weighted average exercise price (in dollars per share) | $ 1.81 |  |  |  |  |
Stock Incentive Plan 2013 |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |
Share-based compensation, number of shares authorized (in shares) |  |  |  |  | 1,960,168 |
Increased number of shares authorized (in shares) | 5,375,064 |  |  |  |  |
Share-based compensation arrangement by share-based payment award, options, outstanding, number (in shares) | 2,644,119 |  |  |  |  |
Weighted average exercise price (in dollars per share) | $ 26.66 |  |  |  |  |
Stock reserved for future issuance (in shares) | 1,960,168 |  |  |  |  |
Percentage of common stock share outstanding | 4.00% |  |  |  |  |
Research and development |  |  |  |  |  |
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] |  |  |  |  |  |
Stock-based compensation expense | $ 5,778 | 3,623 | 1,562 |  |  |
General and administrative |  |  |  |  |  |
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] |  |  |  |  |  |
Stock-based compensation expense | $ 6,387 | $ 4,224 | $ 1,682 |  |  |

X
- Definition Common Stock Capital Shares Minimum Increase In Shares Reserved For Future Issuance + References No definition available. + Details
Name: | mgnx_CommonStockCapitalSharesMinimumIncreaseInSharesReservedForFutureIssuance
Namespace Prefix: | mgnx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of shares of company's common stock outstanding for increase in shares reserved for issuance under stock plan. + References No definition available. + Details
Name: | mgnx_PercentageOfSharesOfCompanysCommonStockOutstandingForIncreaseInSharesReservedForIssuanceUnderStockPlan
Namespace Prefix: | mgnx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award number of shares authorized after increase. + References No definition available. + Details
Name: | mgnx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAfterIncrease
Namespace Prefix: | mgnx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.F) -URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section F + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of options outstanding, including both vested and non-vested options. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_PlanNameAxis=mgnx_EquityIncentivePlan2003Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=mgnx_StockIncentivePlan2013Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_ResearchAndDevelopmentExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |