<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2020-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="xmtr-20211209.xsd" xlink:type="simple"/>
    <context id="duration_2021-12-09_to_2021-12-09">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001657573</identifier>
        </entity>
        <period>
            <startDate>2021-12-09</startDate>
            <endDate>2021-12-09</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="duration_2021-12-09_to_2021-12-09">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2021-12-09_to_2021-12-09"
      id="Hidden_dei_EntityCentralIndexKey">0001657573</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2021-12-09_to_2021-12-09">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2021-12-09_to_2021-12-09">2021-12-09</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2021-12-09_to_2021-12-09">Xometry, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2021-12-09_to_2021-12-09">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2021-12-09_to_2021-12-09">001-40546</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2021-12-09_to_2021-12-09">32-0415449</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2021-12-09_to_2021-12-09">7529 Standish Place</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2021-12-09_to_2021-12-09">Suite 200</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2021-12-09_to_2021-12-09">Derwood</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2021-12-09_to_2021-12-09">MD</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2021-12-09_to_2021-12-09">20855</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2021-12-09_to_2021-12-09">240</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2021-12-09_to_2021-12-09">335-7914</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2021-12-09_to_2021-12-09">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2021-12-09_to_2021-12-09">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2021-12-09_to_2021-12-09">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2021-12-09_to_2021-12-09">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2021-12-09_to_2021-12-09">Class A Common Stock, $0.000001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2021-12-09_to_2021-12-09">XMTR</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2021-12-09_to_2021-12-09">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2021-12-09_to_2021-12-09">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="duration_2021-12-09_to_2021-12-09">false</dei:EntityExTransitionPeriod>
</xbrl>
