XML 23 R46.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Employee Benefit Plan - Additional Information (Detail) (USD $) | 1 Months Ended | 3 Months Ended | 9 Months Ended
--- | --- | --- | ---
Sep. 30, 2002 Age | Sep. 30, 2013 | Sep. 30, 2012 | Sep. 30, 2013 | Sep. 30, 2012
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 |  | $ 55,311 | $ 48,891 | $ 194,498 | $ 179,966

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