<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>207</ContextCount>
  <ElementCount>534</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>88</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200200 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/StatementConsolidatedStatementsOfOperationsAndComprehensiveLoss</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200300 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' (DEFICIT) EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/StatementConsolidatedStatementsOfShareholdersDeficitEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF SHAREHOLDERS' (DEFICIT) EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200400 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - Principal Business Activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePrincipalBusinessActivity</Role>
      <ShortName>Principal Business Activity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - Equity Method and Other Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureEquityMethodAndOtherInvestments</Role>
      <ShortName>Equity Method and Other Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - Prepaid Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePrepaidExpenses</Role>
      <ShortName>Prepaid Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - Property, Plant and Equipment, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePropertyPlantAndEquipmentNet</Role>
      <ShortName>Property, Plant and Equipment, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - Intangible Assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - Accrued Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureAccruedExpenses</Role>
      <ShortName>Accrued Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureOtherCurrentLiabilities</Role>
      <ShortName>Other Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - Ordinary Shares</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureOrdinaryShares</Role>
      <ShortName>Ordinary Shares</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995211201 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211301 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995211401 - Disclosure - Debt Financing</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureDebtFinancing</Role>
      <ShortName>Debt Financing</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995211501 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995211601 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995211701 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSubsequentEvent</Role>
      <ShortName>Subsequent Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>99920202 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>99930203 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>99930303 - Disclosure - Equity Method and Other Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureEquityMethodAndOtherInvestmentsTables</Role>
      <ShortName>Equity Method and Other Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureEquityMethodAndOtherInvestments</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>99930403 - Disclosure - Prepaid Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePrepaidExpensesTables</Role>
      <ShortName>Prepaid Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosurePrepaidExpenses</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99930503 - Disclosure - Property, Plant and Equipment, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePropertyPlantAndEquipmentNetTables</Role>
      <ShortName>Property, Plant and Equipment, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosurePropertyPlantAndEquipmentNet</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99930603 - Disclosure - Intangible Assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureIntangibleAssetsNet</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - Accrued Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureAccruedExpensesTables</Role>
      <ShortName>Accrued Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureAccruedExpenses</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - Other Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureOtherCurrentLiabilitiesTables</Role>
      <ShortName>Other Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureOtherCurrentLiabilities</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99930903 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureShareBasedCompensation</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99931103 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99931203 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureRelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureRelatedPartyTransactions</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99931303 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureLeases</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99940101 - Disclosure - Principal Business Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePrincipalBusinessActivityDetails</Role>
      <ShortName>Principal Business Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosurePrincipalBusinessActivity</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - Summary of Significant Accounting Policies - Tax Incentives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTaxIncentivesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Tax Incentives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99940202 - Disclosure - Summary of Significant Accounting Policies - Assets and Liabilities Measured at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAssetsAndLiabilitiesMeasuredAtFairValueDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Assets and Liabilities Measured at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99940203 - Disclosure - Summary of Significant Accounting Policies - Estimated Useful Lives of Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesEstimatedUsefulLivesOfAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Estimated Useful Lives of Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99940204 - Disclosure - Summary of Significant Accounting Policies - Asset Retirement Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAssetRetirementObligationsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Asset Retirement Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99940205 - Disclosure - Summary of Significant Accounting Policies - IDA Ireland Grant (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesIdaIrelandGrantDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - IDA Ireland Grant (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99940206 - Disclosure - Summary of Significant Accounting Policies - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940207 - Disclosure - Summary of Significant Accounting Policies - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesIncomeTaxesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940208 - Disclosure - Summary of Significant Accounting Policies - Anti-dilutive Securities Excluded from EPS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAntiDilutiveSecuritiesExcludedFromEpsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Anti-dilutive Securities Excluded from EPS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99940209 - Disclosure - Summary of Significant Accounting Policies - Net Loss for the Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesNetLossForSegmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Net Loss for the Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99940210 - Disclosure - Summary of Significant Accounting Policies - Non-Current Assets by Geographical Area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesNonCurrentAssetsByGeographicalAreaDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Non-Current Assets by Geographical Area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - Equity Method and Other Investments - Summary of Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureEquityMethodAndOtherInvestmentsSummaryOfInvestmentsDetails</Role>
      <ShortName>Equity Method and Other Investments - Summary of Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99940302 - Disclosure - Equity Method and Other Investments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureEquityMethodAndOtherInvestmentsAdditionalInformationDetails</Role>
      <ShortName>Equity Method and Other Investments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - Prepaid Expenses - Summary of Prepaid Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePrepaidExpensesSummaryOfPrepaidExpensesDetails</Role>
      <ShortName>Prepaid Expenses - Summary of Prepaid Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - Property, Plant and Equipment, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePropertyPlantAndEquipmentNetDetails</Role>
      <ShortName>Property, Plant and Equipment, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosurePropertyPlantAndEquipmentNetTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>99940502 - Disclosure - Property, Plant and Equipment, net - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosurePropertyPlantAndEquipmentNetAdditionalInformationDetails</Role>
      <ShortName>Property, Plant and Equipment, net - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - Intangible Assets, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIntangibleAssetsNetDetails</Role>
      <ShortName>Intangible Assets, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureIntangibleAssetsNetTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>99940602 - Disclosure - Intangible Assets, net - Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIntangibleAssetsNetAmortizationExpenseDetails</Role>
      <ShortName>Intangible Assets, net - Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - Accrued Expenses - Schedule of Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureAccruedExpensesScheduleOfAccruedExpensesDetails</Role>
      <ShortName>Accrued Expenses - Schedule of Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureOtherCurrentLiabilitiesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - Share-Based Compensation - Summary of Company's Share Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureShareBasedCompensationSummaryOfCompanySShareOptionActivityDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Company's Share Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>99940902 - Disclosure - Share-Based Compensation - Schedule of Grant Date Fair Values of the Share Options Granted Black-Scholes Valuation Model (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureShareBasedCompensationScheduleOfGrantDateFairValuesOfShareOptionsGrantedBlackScholesValuationModelDetails</Role>
      <ShortName>Share-Based Compensation - Schedule of Grant Date Fair Values of the Share Options Granted Black-Scholes Valuation Model (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>99940903 - Disclosure - Share-Based Compensation - Summary of Restricted Share Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Restricted Share Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>99940904 - Disclosure - Share-Based Compensation - Schedule of Share-Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpenseDetails</Role>
      <ShortName>Share-Based Compensation - Schedule of Share-Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>99940905 - Disclosure - Share-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureShareBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Share-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - Ordinary Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureOrdinarySharesDetails</Role>
      <ShortName>Ordinary Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureOrdinaryShares</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>99941101 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>99941102 - Disclosure - Income Taxes - Summary of Net Operating Loss Carryforwards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxesSummaryOfNetOperatingLossCarryforwardsDetails</Role>
      <ShortName>Income Taxes - Summary of Net Operating Loss Carryforwards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>99941103 - Disclosure - Income Taxes - Reconciliation of Income Tax Benefit with Amounts at U.K. Statutory Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxesReconciliationOfIncomeTaxBenefitWithAmountsAtUkStatutoryIncomeTaxRateDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Income Tax Benefit with Amounts at U.K. Statutory Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>99941104 - Disclosure - Income Taxes - Income Tax Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxesIncomeTaxComponentsDetails</Role>
      <ShortName>Income Taxes - Income Tax Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>99941105 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>99941106 - Disclosure - Income Taxes - Unrecognized Tax Positions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxesUnrecognizedTaxPositionsDetails</Role>
      <ShortName>Income Taxes - Unrecognized Tax Positions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>99941107 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>99941201 - Disclosure - Related Party Transactions - Collaboration and License Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureRelatedPartyTransactionsCollaborationAndLicenseAgreementsDetails</Role>
      <ShortName>Related Party Transactions - Collaboration and License Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>99941202 - Disclosure - Related Party Transactions - Performance Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureRelatedPartyTransactionsPerformanceObligationDetails</Role>
      <ShortName>Related Party Transactions - Performance Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>99941203 - Disclosure - Related Party Transactions - Financing Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureRelatedPartyTransactionsFinancingAgreementDetails</Role>
      <ShortName>Related Party Transactions - Financing Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>99941204 - Disclosure - Related Party Transactions - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureRelatedPartyTransactionsRevenueRecognitionDetails</Role>
      <ShortName>Related Party Transactions - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>99941301 - Disclosure - Leases - Schedule of Components of Lease Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureLeasesScheduleOfComponentsOfLeaseCostDetails</Role>
      <ShortName>Leases - Schedule of Components of Lease Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>99941302 - Disclosure - Leases - Schedule of Consolidated Balance Sheets for Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureLeasesScheduleOfConsolidatedBalanceSheetsForLeasesDetails</Role>
      <ShortName>Leases - Schedule of Consolidated Balance Sheets for Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>99941303 - Disclosure - Leases - Schedule of Other Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureLeasesScheduleOfOtherInformationRelatedToLeasesDetails</Role>
      <ShortName>Leases - Schedule of Other Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>99941304 - Disclosure - Leases - Schedule of Future Minimum Lease Payments Under Non-Cancellable Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails</Role>
      <ShortName>Leases - Schedule of Future Minimum Lease Payments Under Non-Cancellable Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>99941305 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>99941401 - Disclosure - Debt Financing (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureDebtFinancingDetails</Role>
      <ShortName>Debt Financing (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureDebtFinancing</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>99941501 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>99941601 - Disclosure - Employee Benefit Plans - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureEmployeeBenefitPlansAdditionalInformationDetails</Role>
      <ShortName>Employee Benefit Plans - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="mgtx-20251231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>99941701 - Disclosure - Subsequent Event - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://meiragtx.com/role/DisclosureSubsequentEventDetails</Role>
      <ShortName>Subsequent Event - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://meiragtx.com/role/DisclosureSubsequentEvent</ParentRole>
      <Position>85</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>mgtx-20251231.xsd</File>
    <File>mgtx-20251231_cal.xml</File>
    <File>mgtx-20251231_def.xml</File>
    <File>mgtx-20251231_lab.xml</File>
    <File>mgtx-20251231_pre.xml</File>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="mgtx-20251231x10k.htm">mgtx-20251231x10k.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>mgtx-20251231x10k006.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="4">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="747">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="20">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
