XML 33 R55.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Employee Benefit Plan - Additional Information (Detail) (USD $) | 0 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 25, 2002 Age | Dec. 31, 2013 | Dec. 31, 2012 | Dec. 31, 2011
Defined Contribution Pension And Other Postretirement Plans Disclosure [Abstract] |  |  |  |
Eligibility of employee participation plan | 21 |  |  |
Percentage of employee contribution to salary | 100.00% |  |  |
Percentage of employee vested contribution |  | 100.00% |  |
Company's contribution to plan total |  | $ 252,930 | $ 225,195 | $ 217,097

X
- Definition Defined contribution plan, employees contribution, annual vesting percentage. + References No definition available. + Details
Name: | mgnx_DefinedContributionPlanEmployeesContributionAnnualVestingPercentage
Namespace Prefix: | mgnx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Employee eligible age to participate in benefit plan. + References No definition available. + Details
Name: | mgnx_EmployeeEligibleAgeToParticipateInBenefitPlan
Namespace Prefix: | mgnx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DefinedContributionPensionAndOtherPostretirementPlansDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of discretionary contributions made by an employer to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration