<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>193</ContextCount>
  <ElementCount>303</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>65</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-document-and-entity-information</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-consolidated-balance-sheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-consolidated-balance-sheets-parentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-consolidated-statements-of-operations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-consolidated-statements-of-stockholders-equity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-consolidated-statements-of-cash-flows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Disclosure - Note 1 - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-1-summary-of-significant-accounting-policies</Role>
      <ShortName>Note 1 - Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Disclosure - Note 2 - Details of Consolidated Balance Sheet Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-2-details-of-consolidated-balance-sheet-accounts-</Role>
      <ShortName>Note 2 - Details of Consolidated Balance Sheet Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - Note 3 - Long-term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-3-longterm-debt</Role>
      <ShortName>Note 3 - Long-term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - Note 4 - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-4-related-party-transactions</Role>
      <ShortName>Note 4 - Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - Note 5 - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-5-income-taxes</Role>
      <ShortName>Note 5 - Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - Note 6 - Earnings Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-6-earnings-per-common-share-</Role>
      <ShortName>Note 6 - Earnings Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - Note 7 - Share Repurchase Program</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-7-share-repurchase-program</Role>
      <ShortName>Note 7 - Share Repurchase Program</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - Note 8 - Dividends</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-8-dividends</Role>
      <ShortName>Note 8 - Dividends</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - Note 9 - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-9-leases</Role>
      <ShortName>Note 9 - Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - Note 10 - Employee Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-</Role>
      <ShortName>Note 10 - Employee Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - Note 11- Termination of Deferred Compensation Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-11-termination-of-deferred-compensation-plan</Role>
      <ShortName>Note 11- Termination of Deferred Compensation Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - Note 12 - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-12-fair-value-of-financial-instruments</Role>
      <ShortName>Note 12 - Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - Note 13 - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-13-commitments-and-contingencies</Role>
      <ShortName>Note 13 - Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - Note 14 - Revenue and Business Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-14-revenue-and-business-segments</Role>
      <ShortName>Note 14 - Revenue and Business Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.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>21</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995465 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-significant-accounting-policies-policies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-1-summary-of-significant-accounting-policies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995466 - Disclosure - Note 1 - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-1-summary-of-significant-accounting-policies-tables</Role>
      <ShortName>Note 1 - Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-1-summary-of-significant-accounting-policies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995467 - Disclosure - Note 2 - Details of Consolidated Balance Sheet Accounts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-2-details-of-consolidated-balance-sheet-accounts-tables</Role>
      <ShortName>Note 2 - Details of Consolidated Balance Sheet Accounts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-2-details-of-consolidated-balance-sheet-accounts-</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995468 - Disclosure - Note 5 - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-5-income-taxes-tables</Role>
      <ShortName>Note 5 - Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-5-income-taxes</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995469 - Disclosure - Note 6 - Earnings Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-6-earnings-per-common-share-tables</Role>
      <ShortName>Note 6 - Earnings Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-6-earnings-per-common-share-</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995470 - Disclosure - Note 9 - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-9-leases-tables</Role>
      <ShortName>Note 9 - Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-9-leases</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995471 - Disclosure - Note 10 - Employee Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-tables</Role>
      <ShortName>Note 10 - Employee Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995472 - Disclosure - Note 14 - Revenue and Business Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-14-revenue-and-business-segments-tables</Role>
      <ShortName>Note 14 - Revenue and Business Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-14-revenue-and-business-segments</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995473 - Disclosure - Note 1 - Summary of Significant Accounting Policies (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-1-summary-of-significant-accounting-policies-details-textual</Role>
      <ShortName>Note 1 - Summary of Significant Accounting Policies (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-1-summary-of-significant-accounting-policies-tables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995474 - Disclosure - Note 1 - Summary of Significant Accounting Policies - Estimated Useful Lives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-1-summary-of-significant-accounting-policies-estimated-useful-lives-details</Role>
      <ShortName>Note 1 - Summary of Significant Accounting Policies - Estimated Useful Lives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Note 2 - Details of Consolidated Balance Sheet Accounts - Prepaid Expenses and Other (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-2-details-of-consolidated-balance-sheet-accounts-prepaid-expenses-and-other-details</Role>
      <ShortName>Note 2 - Details of Consolidated Balance Sheet Accounts - Prepaid Expenses and Other (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995476 - Disclosure - Note 2 - Details of Consolidated Balance Sheet Accounts - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-2-details-of-consolidated-balance-sheet-accounts-accrued-liabilities-details</Role>
      <ShortName>Note 2 - Details of Consolidated Balance Sheet Accounts - Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995477 - Disclosure - Note 3 - Long-term Debt (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-3-longterm-debt-details-textual</Role>
      <ShortName>Note 3 - Long-term Debt (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-3-longterm-debt</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995478 - Disclosure - Note 4 - Related Party Transactions (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-4-related-party-transactions-details-textual</Role>
      <ShortName>Note 4 - Related Party Transactions (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-4-related-party-transactions</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995479 - Disclosure - Note 5 - Income Taxes (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-5-income-taxes-details-textual</Role>
      <ShortName>Note 5 - Income Taxes (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-5-income-taxes-tables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995480 - Disclosure - Note 5 - Income Taxes - Components of Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-5-income-taxes-components-of-provision-for-income-taxes-details</Role>
      <ShortName>Note 5 - Income Taxes - Components of Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995481 - Disclosure - Note 5 - Income Taxes - Federal Income Tax Reconciled to the Effective Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-5-income-taxes-federal-income-tax-reconciled-to-the-effective-income-tax-rate-details</Role>
      <ShortName>Note 5 - Income Taxes - Federal Income Tax Reconciled to the Effective Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995482 - Disclosure - Note 5 - Income Taxes - Net Deferred Tax Liability (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-5-income-taxes-net-deferred-tax-liability-details</Role>
      <ShortName>Note 5 - Income Taxes - Net Deferred Tax Liability (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995483 - Disclosure - Note 6 - Earnings Per Common Share (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-6-earnings-per-common-share-details-textual</Role>
      <ShortName>Note 6 - Earnings Per Common Share (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-6-earnings-per-common-share-tables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995484 - Disclosure - Note 6 - Earnings per Common Share - Basic and Diluted Earnings Per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-6-earnings-per-common-share-basic-and-diluted-earnings-per-common-share-details</Role>
      <ShortName>Note 6 - Earnings per Common Share - Basic and Diluted Earnings Per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995485 - Disclosure - Note 7 - Share Repurchase Program (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-7-share-repurchase-program-details-textual</Role>
      <ShortName>Note 7 - Share Repurchase Program (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-7-share-repurchase-program</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995486 - Disclosure - Note 8 - Dividends (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-8-dividends-details-textual</Role>
      <ShortName>Note 8 - Dividends (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-8-dividends</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995487 - Disclosure - Note 9 - Leases (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-9-leases-details-textual</Role>
      <ShortName>Note 9 - Leases (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-9-leases-tables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995488 - Disclosure - Note 9 - Leases - Operating Leases Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-9-leases-operating-leases-balance-sheet-information-details</Role>
      <ShortName>Note 9 - Leases - Operating Leases Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995489 - Disclosure - Note 9 - Leases - Maturity of Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-9-leases-maturity-of-operating-lease-liabilities-details</Role>
      <ShortName>Note 9 - Leases - Maturity of Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995490 - Disclosure - Note 10 - Employee Benefits (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-details-textual</Role>
      <ShortName>Note 10 - Employee Benefits (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-tables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995491 - Disclosure - Note 10 - Employee Benefits - Stock Options Valuation Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-stock-options-valuation-assumptions-details</Role>
      <ShortName>Note 10 - Employee Benefits - Stock Options Valuation Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995492 - Disclosure - Note 10 - Employee Benefits - Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-option-activity-details</Role>
      <ShortName>Note 10 - Employee Benefits - Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995493 - Disclosure - Note 10 - Employee Benefits - Non-vested Option Awards Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-nonvested-option-awards-activity-details</Role>
      <ShortName>Note 10 - Employee Benefits - Non-vested Option Awards Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995494 - Disclosure - Note 10 - Employee Benefits - Non-vested Performance Unit Award Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-10-employee-benefits-nonvested-performance-unit-award-activity-details</Role>
      <ShortName>Note 10 - Employee Benefits - Non-vested Performance Unit Award Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995495 - Disclosure - Note 13 - Commitments and Contingencies (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-13-commitments-and-contingencies-details-textual</Role>
      <ShortName>Note 13 - Commitments and Contingencies (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-13-commitments-and-contingencies</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995496 - Disclosure - Note 14 - Revenue and Business Segments (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-14-revenue-and-business-segments-details-textual</Role>
      <ShortName>Note 14 - Revenue and Business Segments (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marten.com/20231231/role/statement-note-14-revenue-and-business-segments-tables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="mrtn20231231_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995497 - Disclosure - Note 14 - Revenue and Business Segments - Operating Revenue and Operating Income by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marten.com/20231231/role/statement-note-14-revenue-and-business-segments-operating-revenue-and-operating-income-by-segment-details</Role>
      <ShortName>Note 14 - Revenue and Business Segments - Operating Revenue and Operating Income by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>mrtn-20231231.xsd</File>
    <File>mrtn-20231231_cal.xml</File>
    <File>mrtn-20231231_def.xml</File>
    <File>mrtn-20231231_lab.xml</File>
    <File>mrtn-20231231_pre.xml</File>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="mrtn20231231_10k.htm">mrtn20231231_10k.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g01.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="683">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
