<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>297</ContextCount>
  <ElementCount>520</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>96</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/StatementConsolidatedBalanceSheets1</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperationsAndComprehensiveLoss3</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100070 - Statement - Consolidated Statements of Changes in Convertible Preferred Stock and Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfChangesInConvertiblePreferredStockAndStockholdersEquityDeficit</Role>
      <ShortName>Consolidated Statements of Changes in Convertible Preferred Stock and Stockholders' Equity (Deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100080 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Organization and Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndDescriptionOfBusiness</Role>
      <ShortName>Organization and Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies1</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Credit Concentrations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureCreditConcentrations</Role>
      <ShortName>Credit Concentrations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureInventory</Role>
      <ShortName>Inventory</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Property and Equipment and Long-Lived Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipmentAndLongLivedAssets</Role>
      <ShortName>Property and Equipment and Long-Lived Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Common Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureCommonStock</Role>
      <ShortName>Common Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Convertible Preferred Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureConvertiblePreferredStock</Role>
      <ShortName>Convertible Preferred Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Stock Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureStockBasedCompensation</Role>
      <ShortName>Stock Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Net Loss Per Share Attributable to Common Stockholders</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureNetLossPerShareAttributableToCommonStockholders</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Debt Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureDebtCommitmentsAndContingencies</Role>
      <ShortName>Debt Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureAcquisitions1</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureSegments</Role>
      <ShortName>Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Disaggregated Revenue and Cost of Revenue Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDisaggregatedRevenueAndCostOfRevenueInformation</Role>
      <ShortName>Disaggregated Revenue and Cost of Revenue Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Investment in Unconsolidated Joint Venture</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureInvestmentInUnconsolidatedJointVenture</Role>
      <ShortName>Investment in Unconsolidated Joint Venture</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureSubsequentEvent1</Role>
      <ShortName>Subsequent Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Schedule II - Valuation and Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureScheduleIiValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies1</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies1</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Inventory (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureInventoryTables</Role>
      <ShortName>Inventory (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureInventory</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Property and Equipment and Long-Lived Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipmentAndLongLivedAssetsTables</Role>
      <ShortName>Property and Equipment and Long-Lived Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipmentAndLongLivedAssets</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Convertible Preferred Stock (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureConvertiblePreferredStockTables</Role>
      <ShortName>Convertible Preferred Stock (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureConvertiblePreferredStock</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Stock Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureStockBasedCompensation</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Net Loss Per Share Attributable to Common Stockholders (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureNetLossPerShareAttributableToCommonStockholdersTables</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureNetLossPerShareAttributableToCommonStockholders</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Debt Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDebtCommitmentsAndContingenciesTables</Role>
      <ShortName>Debt Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureDebtCommitmentsAndContingencies</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureAcquisitionsTables</Role>
      <ShortName>Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/DisclosureAcquisitions1</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureSegmentsTables</Role>
      <ShortName>Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureSegments</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Disaggregated Revenue Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDisaggregatedRevenueInformationTables</Role>
      <ShortName>Disaggregated Revenue Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssets</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Organization and Description of Business - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndDescriptionOfBusinessAdditionalInformationDetails</Role>
      <ShortName>Organization and Description of Business - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Summary of Significant Accounting Policies - Summary of Allowance for Credit Losses Related to Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfAllowanceForCreditLossesRelatedToAccountsReceivableDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Allowance for Credit Losses Related to Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Summary of Significant Accounting Policies - Summary of Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfContractLiabilitiesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Credit Concentrations - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureCreditConcentrationsAdditionalInformationDetails</Role>
      <ShortName>Credit Concentrations - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Inventory - Schedule of Components of Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureInventoryScheduleOfComponentsOfInventoryDetails</Role>
      <ShortName>Inventory - Schedule of Components of Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Property and Equipment and Long-Lived Assets - Summary of Components of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosurePropertyAndEquipmentAndLonglivedAssetsSummaryOfComponentsOfPropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment and Long-Lived Assets - Summary of Components of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Property and Equipment and Long-Lived Assets - Summary of Depreciation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipmentAndLongLivedAssetsSummaryOfDepreciationExpenseDetails</Role>
      <ShortName>Property and Equipment and Long-Lived Assets - Summary of Depreciation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Property and Equipment and Long-Lived Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosurePropertyAndEquipmentAndLonglivedAssetsAdditionalInformationDetails</Role>
      <ShortName>Property and Equipment and Long-Lived Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Leases - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureLeasesLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Leases - Schedule of Operating Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseExpenseDetails</Role>
      <ShortName>Leases - Schedule of Operating Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Leases - Summary of Leases Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureLeasesSummaryOfLeasesCostDetails</Role>
      <ShortName>Leases - Summary of Leases Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Leases - Summary of Supplemental Cash and Non-cash Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureLeasesSummaryOfSupplementalCashAndNoncashInformationDetails</Role>
      <ShortName>Leases - Summary of Supplemental Cash and Non-cash Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Leases - Aggregate Annual Lease Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureLeasesAggregateAnnualLeaseObligationsDetails</Role>
      <ShortName>Leases - Aggregate Annual Lease Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Leases - Schedule of Remaining Weighted Average Lease Terms and Discount Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureLeasesScheduleOfRemainingWeightedAverageLeaseTermsAndDiscountRatesDetails</Role>
      <ShortName>Leases - Schedule of Remaining Weighted Average Lease Terms and Discount Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Common Stock - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureCommonStockAdditionalInformationDetails</Role>
      <ShortName>Common Stock - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Convertible Preferred Stock - Schedule of Numbers of Authorized and Outstanding Shares of Convertible Preferred Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureConvertiblePreferredStockScheduleOfNumbersOfAuthorizedAndOutstandingSharesOfConvertiblePreferredStockDetails</Role>
      <ShortName>Convertible Preferred Stock - Schedule of Numbers of Authorized and Outstanding Shares of Convertible Preferred Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Convertible Preferred Stock - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureConvertiblePreferredStockAdditionalInformationDetails</Role>
      <ShortName>Convertible Preferred Stock - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Convertible Preferred Stock - Schedule of Reconciliation of Convertible Preferred Stock Reacquired and Reissued in 2021 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureConvertiblePreferredStockScheduleOfReconciliationOfConvertiblePreferredStockReacquiredAndReissuedIn2021Details</Role>
      <ShortName>Convertible Preferred Stock - Schedule of Reconciliation of Convertible Preferred Stock Reacquired and Reissued in 2021 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Stock Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Stock Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Stock Based Compensation - Schedule of Weighted Average Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfWeightedAverageAssumptionsDetails</Role>
      <ShortName>Stock Based Compensation - Schedule of Weighted Average Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Stock Based Compensation - Summary of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails</Role>
      <ShortName>Stock Based Compensation - Summary of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Stock Based Compensation - Summary of Restricted Stock Unit Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails</Role>
      <ShortName>Stock Based Compensation - Summary of Restricted Stock Unit Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Stock Based Compensation - Schedule of Total Stock-based Compensation Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureStockBasedCompensationScheduleOfTotalStockbasedCompensationCostsDetails</Role>
      <ShortName>Stock Based Compensation - Schedule of Total Stock-based Compensation Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Income Taxes - Schedule of Statutory Federal Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureIncomeTaxesScheduleOfStatutoryFederalIncomeTaxRateDetails</Role>
      <ShortName>Income Taxes - Schedule of Statutory Federal Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets and Deferred Tax Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Deferred Tax Assets and Deferred Tax Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Net Loss Per Share Attributable to Common Stockholders - Computation of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureNetLossPerShareAttributableToCommonStockholdersComputationOfBasicAndDilutedNetLossPerShareAttributableToCommonStockholdersDetails</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders - Computation of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Net Loss Per Share Attributable to Common Stockholders - Schedule of Outstanding Shares of Potentially Dilutive Securities Excluded from Computation of Diluted Net Loss Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureNetLossPerShareAttributableToCommonStockholdersScheduleOfOutstandingSharesOfPotentiallyDilutiveSecuritiesExcludedFromComputation</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders - Schedule of Outstanding Shares of Potentially Dilutive Securities Excluded from Computation of Diluted Net Loss Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Debt Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureDebtCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Debt Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Debt Commitments and Contingencies - Schedule of Outstanding Principal Amount and Carrying Value of Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDebtCommitmentsAndContingenciesScheduleOfOutstandingPrincipalAmountAndCarryingValueOfNotesDetails</Role>
      <ShortName>Debt Commitments and Contingencies - Schedule of Outstanding Principal Amount and Carrying Value of Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Debt Commitments and Contingencies - Schedule of Interest Expense Related to Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDebtCommitmentsAndContingenciesScheduleOfInterestExpenseRelatedToNotesDetails</Role>
      <ShortName>Debt Commitments and Contingencies - Schedule of Interest Expense Related to Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Debt Commitments and Contingencies - Schedule of Carrying Value and Estimated Fair Value of Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDebtCommitmentsAndContingenciesScheduleOfCarryingValueAndEstimatedFairValueOfNotesDetails</Role>
      <ShortName>Debt Commitments and Contingencies - Schedule of Carrying Value and Estimated Fair Value of Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Debt Commitments and Contingencies - Schedule of Restructuring Related Employee Termination Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDebtCommitmentsAndContingenciesScheduleOfRestructuringRelatedEmployeeTerminationBenefitsDetails</Role>
      <ShortName>Debt Commitments and Contingencies - Schedule of Restructuring Related Employee Termination Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Debt Commitments and Contingencies - Summary of Total Restructuring Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDebtCommitmentsAndContingenciesSummaryOfTotalRestructuringCostsDetails</Role>
      <ShortName>Debt Commitments and Contingencies - Summary of Total Restructuring Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Acquisitions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails</Role>
      <ShortName>Acquisitions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Acquisitions - Summary of Consideration Paid and Preliminary Fair Value of Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureAcquisitionsSummaryOfConsiderationPaidAndPreliminaryFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetails</Role>
      <ShortName>Acquisitions - Summary of Consideration Paid and Preliminary Fair Value of Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Acquisitions - Summary of Consideration Paid and Fair Value of Assets Acquired and Liabilities Assumed (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureAcquisitionsSummaryOfConsiderationPaidAndFairValueOfAssetsAcquiredAndLiabilitiesAssumedParentheticalDetails</Role>
      <ShortName>Acquisitions - Summary of Consideration Paid and Fair Value of Assets Acquired and Liabilities Assumed (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Acquisitions - Summary of Fair Value of Identifiable Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValueOfIdentifiableIntangibleAssetsDetails</Role>
      <ShortName>Acquisitions - Summary of Fair Value of Identifiable Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100830 - Disclosure - Acquisitions - Schedule of Unaudited Pro Forma Condensed Combined Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureAcquisitionsScheduleOfUnauditedProFormaCondensedCombinedFinancialInformationDetails</Role>
      <ShortName>Acquisitions - Schedule of Unaudited Pro Forma Condensed Combined Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100840 - Disclosure - Segments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureSegmentsAdditionalInformationDetails</Role>
      <ShortName>Segments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100850 - Disclosure - Segments - Summary of Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureSegmentsSummaryOfSegmentInformationDetails</Role>
      <ShortName>Segments - Summary of Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100860 - Disclosure - Disaggregated Revenue and Cost of Revenue Information - Schedule of Disaggregated Revenue Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureDisaggregatedRevenueAndCostOfRevenueInformationScheduleOfDisaggregatedRevenueInformationDetails</Role>
      <ShortName>Disaggregated Revenue and Cost of Revenue Information - Schedule of Disaggregated Revenue Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100870 - Disclosure - Related Party Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Related Party Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100880 - Disclosure - Goodwill and Intangible Assets - Summary of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsSummaryOfIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Summary of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100890 - Disclosure - Goodwill and Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100900 - Disclosure - Goodwill and Intangible Assets - Schedule of Carrying Amount of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingAmountOfGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule of Carrying Amount of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100910 - Disclosure - Goodwill and Intangible Assets - Schedule of Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule of Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100920 - Disclosure - Investment in Unconsolidated Joint Venture - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureInvestmentInUnconsolidatedJointVentureAdditionalInformationDetails</Role>
      <ShortName>Investment in Unconsolidated Joint Venture - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>100930 - Disclosure - Subsequent Event - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/DisclosureSubsequentEventAdditionalInformationDetails</Role>
      <ShortName>Subsequent Event - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="xmtr-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>100940 - Schedule - Schedule II - Valuation and Qualifying Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xometry.com/20221231/taxonomy/role/ScheduleScheduleIiValuationAndQualifyingAccountsDetails</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.xometry.com/20221231/taxonomy/role/DisclosureScheduleIiValuationAndQualifyingAccounts</ParentRole>
      <Position>91</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 2 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap:FiniteLivedIntangibleAssetUsefulLife, us-gaap:PropertyPlantAndEquipmentUsefulLife -  xmtr-20221231.htm 8</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="xmtr-20221231.htm">xmtr-20221231.htm</File>
    <File>xmtr-20221231.xsd</File>
    <File>xmtr-20221231_cal.xml</File>
    <File>xmtr-20221231_def.xml</File>
    <File>xmtr-20221231_lab.xml</File>
    <File>xmtr-20221231_pre.xml</File>
    <File>xmtr-ex21_1.htm</File>
    <File>xmtr-ex23_1.htm</File>
    <File>xmtr-ex31_1.htm</File>
    <File>xmtr-ex31_2.htm</File>
    <File>xmtr-ex32_1.htm</File>
    <File>xmtr-ex32_2.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img29042327_0.jpg</File>
    <File>img29042327_1.jpg</File>
    <File>img29042327_2.jpg</File>
    <File>img29042327_3.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2022</BaseTaxonomy>
    <BaseTaxonomy items="1257">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
