<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>156</ContextCount>
  <ElementCount>213</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>42</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="cmpx20260331_10q.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.compasstherapeutics.com/20260331/role/statement-document-and-entity-information</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Condensed Consolidated Balance Sheets (Current Period Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-condensed-consolidated-balance-sheets-current-period-unaudited</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Current Period Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Condensed Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-condensed-consolidated-balance-sheets-current-period-unaudited-parentheticals</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Condensed Consolidated Statements of Operations and Comprehensive Loss (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-condensed-consolidated-statements-of-operations-and-comprehensive-loss-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Operations and Comprehensive Loss (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-condensed-consolidated-statements-of-stockholders-equity-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-condensed-consolidated-statements-of-cash-flows-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Disclosure - Note 1 - Nature of Business and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-1-nature-of-business-and-basis-of-presentation</Role>
      <ShortName>Note 1 - Nature of Business and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Disclosure - Note 2 - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-2-summary-of-significant-accounting-policies</Role>
      <ShortName>Note 2 - Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - Note 3 - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-3-fair-value-measurements</Role>
      <ShortName>Note 3 - Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - Note 4 - Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-4-marketable-securities</Role>
      <ShortName>Note 4 - Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - Note 5 - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-5-property-and-equipment</Role>
      <ShortName>Note 5 - Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - Note 6 - Accrued Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-6-accrued-expenses</Role>
      <ShortName>Note 6 - Accrued Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - Note 7 - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-7-commitments-and-contingencies</Role>
      <ShortName>Note 7 - Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - Note 8 - Stock-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation</Role>
      <ShortName>Note 8 - Stock-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - Note 9 - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-9-stockholders-equity</Role>
      <ShortName>Note 9 - Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - Note 10 - Basic and Diluted Net Loss Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-10-basic-and-diluted-net-loss-per-share</Role>
      <ShortName>Note 10 - Basic and Diluted Net Loss Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - Note 11 - License, Research and Collaboration Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-11-license-research-and-collaboration-agreements</Role>
      <ShortName>Note 11 - License, Research and Collaboration Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - Note 12 - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-12-segment-information-</Role>
      <ShortName>Note 12 - Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.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>19</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Note 3 - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-3-fair-value-measurements-tables</Role>
      <ShortName>Note 3 - Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-3-fair-value-measurements</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995446 - Disclosure - Note 4 - Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-4-marketable-securities-tables</Role>
      <ShortName>Note 4 - Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-4-marketable-securities</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Note 5 - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-5-property-and-equipment-tables</Role>
      <ShortName>Note 5 - Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-5-property-and-equipment</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995448 - Disclosure - Note 6 - Accrued Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-6-accrued-expenses-tables</Role>
      <ShortName>Note 6 - Accrued Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-6-accrued-expenses</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995449 - Disclosure - Note 7 - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-7-commitments-and-contingencies-tables</Role>
      <ShortName>Note 7 - Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-7-commitments-and-contingencies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995450 - Disclosure - Note 8 - Stock-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation-tables</Role>
      <ShortName>Note 8 - Stock-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995451 - Disclosure - Note 10 - Basic and Diluted Net Loss Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-10-basic-and-diluted-net-loss-per-share-tables</Role>
      <ShortName>Note 10 - Basic and Diluted Net Loss Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-10-basic-and-diluted-net-loss-per-share</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995452 - Disclosure - Note 12 - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-12-segment-information-tables</Role>
      <ShortName>Note 12 - Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-12-segment-information-</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995453 - Disclosure - Note 1 - Nature of Business and Basis of Presentation (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-1-nature-of-business-and-basis-of-presentation-details-textual</Role>
      <ShortName>Note 1 - Nature of Business and Basis of Presentation (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-1-nature-of-business-and-basis-of-presentation</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995454 - Disclosure - Note 3 - Fair Value Measurements - Financial Assets Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-3-fair-value-measurements-financial-assets-measured-at-fair-value-on-a-recurring-basis-details</Role>
      <ShortName>Note 3 - Fair Value Measurements - Financial Assets Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Note 4 - Marketable Securities - Marketable Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-4-marketable-securities-marketable-securities-details</Role>
      <ShortName>Note 4 - Marketable Securities - Marketable Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995456 - Disclosure - Note 4 - Marketable Securities - Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-4-marketable-securities-maturity-details</Role>
      <ShortName>Note 4 - Marketable Securities - Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995457 - Disclosure - Note 5 - Property and Equipment (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-5-property-and-equipment-details-textual</Role>
      <ShortName>Note 5 - Property and Equipment (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-5-property-and-equipment-tables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995458 - Disclosure - Note 5 - Property and Equipment - Schedule of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-5-property-and-equipment-schedule-of-property-and-equipment-details</Role>
      <ShortName>Note 5 - Property and Equipment - Schedule of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995459 - Disclosure - Note 6 - Accrued Expenses (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-6-accrued-expenses-details-textual</Role>
      <ShortName>Note 6 - Accrued Expenses (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-6-accrued-expenses-tables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995460 - Disclosure - Note 6 - Accrued Expenses - Schedule of Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-6-accrued-expenses-schedule-of-accrued-expenses-details</Role>
      <ShortName>Note 6 - Accrued Expenses - Schedule of Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995461 - Disclosure - Note 7 - Commitments and Contingencies (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-7-commitments-and-contingencies-details-textual</Role>
      <ShortName>Note 7 - Commitments and Contingencies (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-7-commitments-and-contingencies-tables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995462 - Disclosure - Note 7 - Commitments and Contingencies - Undiscounted Cash Flows Reconciled to Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-7-commitments-and-contingencies-undiscounted-cash-flows-reconciled-to-operating-lease-liabilities-details</Role>
      <ShortName>Note 7 - Commitments and Contingencies - Undiscounted Cash Flows Reconciled to Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995463 - Disclosure - Note 8 - Stock-based Compensation (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation-details-textual</Role>
      <ShortName>Note 8 - Stock-based Compensation (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation-tables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995464 - Disclosure - Note 8 - Stock-based Compensation - Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation-stockbased-compensation-expense-details</Role>
      <ShortName>Note 8 - Stock-based Compensation - Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995465 - Disclosure - Note 8 - Stock-based Compensation - Summary of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation-summary-of-stock-option-activity-details</Role>
      <ShortName>Note 8 - Stock-based Compensation - Summary of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995466 - Disclosure - Note 8 - Stock-based Compensation - Weighted Average Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation-weighted-average-assumptions-details</Role>
      <ShortName>Note 8 - Stock-based Compensation - Weighted Average Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995467 - Disclosure - Note 8 - Stock-based Compensation - Summary of RSU Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-8-stockbased-compensation-summary-of-rsu-activity-details</Role>
      <ShortName>Note 8 - Stock-based Compensation - Summary of RSU Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995468 - Disclosure - Note 9 - Stockholders' Equity (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-9-stockholders-equity-details-textual</Role>
      <ShortName>Note 9 - Stockholders' Equity (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-9-stockholders-equity</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995469 - Disclosure - Note 10 - Basic and Diluted Net Loss Per Share (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-10-basic-and-diluted-net-loss-per-share-details-textual</Role>
      <ShortName>Note 10 - Basic and Diluted Net Loss Per Share (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-10-basic-and-diluted-net-loss-per-share-tables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995470 - Disclosure - Note 10 - Basic and Diluted Net Loss Per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-10-basic-and-diluted-net-loss-per-share-schedule-of-antidilutive-securities-excluded-from-computation-of-earnings-per-share-details</Role>
      <ShortName>Note 10 - Basic and Diluted Net Loss Per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995471 - Disclosure - Note 11 - License, Research and Collaboration Agreements (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-11-license-research-and-collaboration-agreements-details-textual</Role>
      <ShortName>Note 11 - License, Research and Collaboration Agreements (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-11-license-research-and-collaboration-agreements</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995472 - Disclosure - Note 12 - Segment Information (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-12-segment-information-details-textual</Role>
      <ShortName>Note 12 - Segment Information (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.compasstherapeutics.com/20260331/role/statement-note-12-segment-information-tables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="cmpx20260331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995473 - Disclosure - Note 12 - Segment Information - Schedule of Segment Reporting Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.compasstherapeutics.com/20260331/role/statement-note-12-segment-information-schedule-of-segment-reporting-information-details</Role>
      <ShortName>Note 12 - Segment Information - Schedule of Segment Reporting Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>cmpx-20260331.xsd</File>
    <File>cmpx-20260331_cal.xml</File>
    <File>cmpx-20260331_def.xml</File>
    <File>cmpx-20260331_lab.xml</File>
    <File>cmpx-20260331_pre.xml</File>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="cmpx20260331_10q.htm">cmpx20260331_10q.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="472">http://fasb.org/us-gaap/2026</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
