<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cars-20261105.xsd" xlink:type="simple"/>
    <context id="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001683606</identifier>
        </entity>
        <period>
            <startDate>2026-11-05</startDate>
            <endDate>2026-11-05</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_90d372e1-ab60-4d6f-8f43-2429ae1dccb6">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_32e4d62d-80fb-46c2-8c9e-ae873ffaf4d2">0001683606</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_b1e26e0e-3dbf-4fc5-b715-84336b8d9c26">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_6b718c89-018c-4d47-aea8-f3caf113a657">2026-11-05</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_b9a0d25e-e6a5-4a24-8ba5-0347ea0fecc1">Cars.com Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_15d28455-df56-4c2e-96f9-fea60ba8a9ef">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_d7a18da5-bc3b-49f5-857f-9584dc6d7638">001-37869</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_4b55fafe-8d36-400a-b746-9ed96b5bcd78">81-3693660</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_dd7679a5-e18e-4199-9bd0-818b945f134d">300 S. Riverside Plaza</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_9332844e-952a-4d9e-b60f-957795329292">Suite 1100</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_7aaa36d8-8079-41fb-a8c6-824eeee2e6c5">Chicago</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_feda4c60-d95f-4b64-a39d-0cdb6af3ede8">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_b3c87940-a071-4da2-8646-3fbba3077dc0">60606</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_1ad69460-a396-4a80-a22c-23113ed3bba2">312</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_55cd1f94-96ba-43c8-aafb-931332489d2d">601-5000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_9c02f5e1-7cce-4438-9d74-c08cda4197c6">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_d77fe490-b196-4d35-a5c4-74bda410df28">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_5da9d014-d02d-46e1-a969-aa71c1c23f2b">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_9c689087-0e64-403e-93dc-9e16305a9f61">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_bd3e733b-b477-4d57-959a-e423b0dda120">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_c2b220f2-b70f-47ae-8b76-45819407ddf0">CARS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_be11c5ec-e1bc-4a02-a0ae-0b4fc1a6ed13">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_98b1e7b1-d4c2-4dc7-af8a-e3a4aac431fc"
      id="F_817b1c33-d024-4463-ae20-82b40f53638c">false</dei:EntityEmergingGrowthCompany>
</xbrl>
