<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>393</ContextCount>
  <ElementCount>539</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>108</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DocumentCoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/StatementConsolidatedStatementsOfIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/StatementConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/StatementConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00505 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/StatementConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Organization and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureRevenues</Role>
      <ShortName>Revenues</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Acquisitions and Other Strategic Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactions</Role>
      <ShortName>Acquisitions and Other Strategic Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureGoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Accrued Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAccruedExpenses</Role>
      <ShortName>Accrued Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Derivatives</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDerivatives</Role>
      <ShortName>Derivatives</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Earnings Per Common Share (EPS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEarningsPerCommonShareEps</Role>
      <ShortName>Earnings Per Common Share (EPS)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Employee Stock Purchase Plan, Stock Options and Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrants</Role>
      <ShortName>Employee Stock Purchase Plan, Stock Options and Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Segment Reporting and Foreign Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureSegmentReportingAndForeignOperations</Role>
      <ShortName>Segment Reporting and Foreign Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Schedule II - Valuation and qualifying accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureScheduleIiValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II - Valuation and qualifying accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>20102 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30103 - Disclosure - Organization and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Revenues (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureRevenuesTables</Role>
      <ShortName>Revenues (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureRevenues</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Acquisitions and Other Strategic Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactionsTables</Role>
      <ShortName>Acquisitions and Other Strategic Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactions</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureInventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureInventories</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureGoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureGoodwillAndIntangibleAssets</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Accrued Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAccruedExpensesTables</Role>
      <ShortName>Accrued Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureAccruedExpenses</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureDebt</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Derivatives (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDerivativesTables</Role>
      <ShortName>Derivatives (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureDerivatives</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Earnings Per Common Share (EPS) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEarningsPerCommonShareEpsTables</Role>
      <ShortName>Earnings Per Common Share (EPS) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureEarningsPerCommonShareEps</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Employee Stock Purchase Plan, Stock Options and Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrantsTables</Role>
      <ShortName>Employee Stock Purchase Plan, Stock Options and Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrants</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Segment Reporting and Foreign Operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureSegmentReportingAndForeignOperationsTables</Role>
      <ShortName>Segment Reporting and Foreign Operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureSegmentReportingAndForeignOperations</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>31503 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>31603 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>31703 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureLeases</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Organization and Summary of Significant Accounting Policies - Organization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesOrganizationDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Organization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40102 - Disclosure - Organization and Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesCashAndCashEquivalentsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40103 - Disclosure - Organization and Summary of Significant Accounting Policies - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40104 - Disclosure - Organization and Summary of Significant Accounting Policies - Deferred Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesDeferredCompensationDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Deferred Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40105 - Disclosure - Organization and Summary of Significant Accounting Policies - Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesOtherAssetsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40106 - Disclosure - Organization and Summary of Significant Accounting Policies - Other Long-term Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesOtherLongTermObligationsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Other Long-term Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40107 - Disclosure - Organization and Summary of Significant Accounting Policies - Stock Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesStockBasedCompensationDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Stock Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Revenues - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureRevenuesDisaggregationOfRevenueDetails</Role>
      <ShortName>Revenues - Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Acquisitions and Other Strategic Transactions - Asset Purchase (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactionsAssetPurchaseDetails</Role>
      <ShortName>Acquisitions and Other Strategic Transactions - Asset Purchase (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40302 - Disclosure - Acquisitions and Other Strategic Transactions - Angio Dynamics, Inc (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactionsAngioDynamicsIncDetails</Role>
      <ShortName>Acquisitions and Other Strategic Transactions - Angio Dynamics, Inc (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40303 - Disclosure - Acquisitions and Other Strategic Transactions - Bluegrass Vascular Technologies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactionsBluegrassVascularTechnologiesDetails</Role>
      <ShortName>Acquisitions and Other Strategic Transactions - Bluegrass Vascular Technologies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40304 - Disclosure - Acquisitions and Other Strategic Transactions - Advanced Radiation Therapy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactionsAdvancedRadiationTherapyDetails</Role>
      <ShortName>Acquisitions and Other Strategic Transactions - Advanced Radiation Therapy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40305 - Disclosure - Acquisitions and Other Strategic Transactions - Solo Pace, Inc (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactionsSoloPaceIncDetails</Role>
      <ShortName>Acquisitions and Other Strategic Transactions - Solo Pace, Inc (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40306 - Disclosure - Acquisitions and Other Strategic Transactions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactionsNarrativeDetails</Role>
      <ShortName>Acquisitions and Other Strategic Transactions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40307 - Disclosure - Acquisitions and Other Strategic Transactions - Purchase Price Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAcquisitionsAndOtherStrategicTransactionsPurchasePriceAllocationDetails</Role>
      <ShortName>Acquisitions and Other Strategic Transactions - Purchase Price Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureInventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureInventoriesTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Goodwill and Intangible Assets - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureGoodwillAndIntangibleAssetsGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Goodwill and Intangible Assets - Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureGoodwillAndIntangibleAssetsOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>40503 - Disclosure - Goodwill and Intangible Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureGoodwillAndIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>40504 - Disclosure - Goodwill and Intangible Assets - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureGoodwillAndIntangibleAssetsFutureAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Income Taxes - Domestic and Foreign (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureIncomeTaxesDomesticAndForeignDetails</Role>
      <ShortName>Income Taxes - Domestic and Foreign (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Income Taxes - Components of Income Tax Expense (Benefit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>Income Taxes - Components of Income Tax Expense (Benefit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>40603 - Disclosure - Income Taxes - Effective Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureIncomeTaxesEffectiveIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes - Effective Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>40604 - Disclosure - Income Taxes - Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>40605 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureIncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>40606 - Disclosure - Income Taxes - Summary of Income Tax Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureIncomeTaxesSummaryOfIncomeTaxContingenciesDetails</Role>
      <ShortName>Income Taxes - Summary of Income Tax Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAccruedExpensesDetails</Role>
      <ShortName>Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureAccruedExpensesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Debt - Principal Balances under Long-term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDebtPrincipalBalancesUnderLongTermDebtDetails</Role>
      <ShortName>Debt - Principal Balances under Long-term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Debt - Future Minimum Payments on Long-term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDebtFutureMinimumPaymentsOnLongTermDebtDetails</Role>
      <ShortName>Debt - Future Minimum Payments on Long-term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>40803 - Disclosure - Debt - Financial Covenants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDebtFinancialCovenantsDetails</Role>
      <ShortName>Debt - Financial Covenants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>40804 - Disclosure - Debt - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDebtNarrativeDetails</Role>
      <ShortName>Debt - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Derivatives - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDerivativesNarrativeDetails</Role>
      <ShortName>Derivatives - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Derivatives - Forward Notional Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDerivativesForwardNotionalContractsDetails</Role>
      <ShortName>Derivatives - Forward Notional Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Derivatives - Fair Value of Derivative Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDerivativesFairValueOfDerivativeInstrumentsDetails</Role>
      <ShortName>Derivatives - Fair Value of Derivative Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>40904 - Disclosure - Derivatives - Amount of Gain (Loss) Recognized in OCI and Income Statement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDerivativesAmountOfGainLossRecognizedInOciAndIncomeStatementDetails</Role>
      <ShortName>Derivatives - Amount of Gain (Loss) Recognized in OCI and Income Statement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>40905 - Disclosure - Derivatives - Gain (Loss) in the Consolidated Statements of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureDerivativesGainLossInConsolidatedStatementsOfIncomeDetails</Role>
      <ShortName>Derivatives - Gain (Loss) in the Consolidated Statements of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Commitments and Contingencies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureCommitmentsAndContingenciesNarrativeDetails</Role>
      <ShortName>Commitments and Contingencies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Earnings Per Common Share (EPS) - Basic EPS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEarningsPerCommonShareEpsBasicEpsDetails</Role>
      <ShortName>Earnings Per Common Share (EPS) - Basic EPS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureEarningsPerCommonShareEpsTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>41102 - Disclosure - Earnings Per Common Share (EPS) - Diluted EPS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEarningsPerCommonShareEpsDilutedEpsDetails</Role>
      <ShortName>Earnings Per Common Share (EPS) - Diluted EPS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureEarningsPerCommonShareEpsTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>41103 - Disclosure - Earnings Per Common Share (EPS) - Convertible Noes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEarningsPerCommonShareEpsConvertibleNoesDetails</Role>
      <ShortName>Earnings Per Common Share (EPS) - Convertible Noes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureEarningsPerCommonShareEpsTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Employee Stock Purchase Plan, Stock Options and Warrants - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrantsNarrativeDetails</Role>
      <ShortName>Employee Stock Purchase Plan, Stock Options and Warrants - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrantsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>41202 - Disclosure - Employee Stock Purchase Plan, Stock Options and Warrants - Allocation of Recognized Period Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrantsAllocationOfRecognizedPeriodCostsDetails</Role>
      <ShortName>Employee Stock Purchase Plan, Stock Options and Warrants - Allocation of Recognized Period Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>41203 - Disclosure - Employee Stock Purchase Plan, Stock Options and Warrants - Option Granted Fair Value Calculation Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrantsOptionGrantedFairValueCalculationAssumptionsDetails</Role>
      <ShortName>Employee Stock Purchase Plan, Stock Options and Warrants - Option Granted Fair Value Calculation Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>41204 - Disclosure - Employee Stock Purchase Plan, Stock Options and Warrants - Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrantsStockOptionActivityDetails</Role>
      <ShortName>Employee Stock Purchase Plan, Stock Options and Warrants - Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>41205 - Disclosure - Employee Stock Purchase Plan, Stock Options and Warrants - Changes in PSUs and RSUs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrantsChangesInPsusAndRsusDetails</Role>
      <ShortName>Employee Stock Purchase Plan, Stock Options and Warrants - Changes in PSUs and RSUs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>41206 - Disclosure - Employee Stock Purchase Plan, Stock Options and Warrants - PSUs Fair Value Calculation Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeStockPurchasePlanStockOptionsAndWarrantsPsusFairValueCalculationAssumptionsDetails</Role>
      <ShortName>Employee Stock Purchase Plan, Stock Options and Warrants - PSUs Fair Value Calculation Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Segment Reporting and Foreign Operations - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureSegmentReportingAndForeignOperationsNarrativeDetails</Role>
      <ShortName>Segment Reporting and Foreign Operations - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>41302 - Disclosure - Segment Reporting and Foreign Operations - Long-lived Assets by Geographic Area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureSegmentReportingAndForeignOperationsLongLivedAssetsByGeographicAreaDetails</Role>
      <ShortName>Segment Reporting and Foreign Operations - Long-lived Assets by Geographic Area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>41303 - Disclosure - Segment Reporting and Foreign Operations - Operating Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureSegmentReportingAndForeignOperationsOperatingIncomeDetails</Role>
      <ShortName>Segment Reporting and Foreign Operations - Operating Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>41304 - Disclosure - Segment Reporting and Foreign Operations - Assets, Depreciation, Amortization and Capital Expenditures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureSegmentReportingAndForeignOperationsAssetsDepreciationAmortizationAndCapitalExpendituresDetails</Role>
      <ShortName>Segment Reporting and Foreign Operations - Assets, Depreciation, Amortization and Capital Expenditures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Employee Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureEmployeeBenefitPlansDetails</Role>
      <ShortName>Employee Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureEmployeeBenefitPlans</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Fair Value Measurements - Financial Assets and (Liabilities) Carried at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesCarriedAtFairValueDetails</Role>
      <ShortName>Fair Value Measurements - Financial Assets and (Liabilities) Carried at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>41502 - Disclosure - Fair Value Measurements - Liability Measured on Recurring Basis, Unobservable Input Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureFairValueMeasurementsLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationDetails</Role>
      <ShortName>Fair Value Measurements - Liability Measured on Recurring Basis, Unobservable Input Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>41503 - Disclosure - Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureFairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>41504 - Disclosure - Fair Value Measurements - Fair Value Inputs, Liabilities, Quantitative Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureFairValueMeasurementsFairValueInputsLiabilitiesQuantitativeInformationDetails</Role>
      <ShortName>Fair Value Measurements - Fair Value Inputs, Liabilities, Quantitative Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>41505 - Disclosure - Fair Value Measurements - Allowance for Credit Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureFairValueMeasurementsAllowanceForCreditLossesDetails</Role>
      <ShortName>Fair Value Measurements - Allowance for Credit Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Accumulated Other Comprehensive Income (Loss) - Changes in AOCI (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAociDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) - Changes in AOCI (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureLeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>41702 - Disclosure - Leases - Schedule of Consolidated Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureLeasesScheduleOfConsolidatedBalanceSheetInformationDetails</Role>
      <ShortName>Leases - Schedule of Consolidated Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>41703 - Disclosure - Leases - Components of Lease Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureLeasesComponentsOfLeaseCostDetails</Role>
      <ShortName>Leases - Components of Lease Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>41704 - Disclosure - Leases - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails</Role>
      <ShortName>Leases - Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>41705 - Disclosure - Leases - Supplemental Disclosure (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureLeasesSupplementalDisclosureDetails</Role>
      <ShortName>Leases - Supplemental Disclosure (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>41706 - Disclosure - Leases - Maturities of Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/DisclosureLeasesMaturitiesOfOperatingLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Maturities of Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>41801 - Schedule - Schedule II - Valuation and qualifying accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.merit.com/role/ScheduleScheduleIiValuationAndQualifyingAccountsDetails</Role>
      <ShortName>Schedule II - Valuation and qualifying accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.merit.com/role/DisclosureScheduleIiValuationAndQualifyingAccounts</ParentRole>
      <Position>106</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.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>Uncategorized</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="mmsi-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.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>Cover</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>mmsi-20231231.xsd</File>
    <File>mmsi-20231231_cal.xml</File>
    <File>mmsi-20231231_def.xml</File>
    <File>mmsi-20231231_lab.xml</File>
    <File>mmsi-20231231_pre.xml</File>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="mmsi-20231231x10k.htm">mmsi-20231231x10k.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>mmsi-20231231x10k001.jpg</File>
    <File>mmsi-20231231x10k002.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2023</BaseTaxonomy>
    <BaseTaxonomy items="1408">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
