<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021q4"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="rptx-20220601.xsd" xlink:type="simple"/>
    <context id="duration_2022-06-01_to_2022-06-01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001808158</identifier>
        </entity>
        <period>
            <startDate>2022-06-01</startDate>
            <endDate>2022-06-01</endDate>
        </period>
    </context>
    <dei:EntityTaxIdentificationNumber
      contextRef="duration_2022-06-01_to_2022-06-01"
      id="Hidden_dei_EntityTaxIdentificationNumber">00-0000000</dei:EntityTaxIdentificationNumber>
    <dei:EntityCentralIndexKey
      contextRef="duration_2022-06-01_to_2022-06-01"
      id="Hidden_dei_EntityCentralIndexKey_duration_2022-06-01_to_2022-06-01">0001808158</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="duration_2022-06-01_to_2022-06-01"
      id="Hidden_dei_AmendmentFlag_duration_2022-06-01_to_2022-06-01">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="duration_2022-06-01_to_2022-06-01">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2022-06-01_to_2022-06-01">2022-06-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2022-06-01_to_2022-06-01">Repare Therapeutics Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2022-06-01_to_2022-06-01">A8</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2022-06-01_to_2022-06-01">001-39335</dei:EntityFileNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2022-06-01_to_2022-06-01">7210 Frederick-Banting, Suite 100</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2022-06-01_to_2022-06-01">St-Laurent</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2022-06-01_to_2022-06-01">QC</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressCountry contextRef="duration_2022-06-01_to_2022-06-01">CA</dei:EntityAddressCountry>
    <dei:EntityAddressPostalZipCode contextRef="duration_2022-06-01_to_2022-06-01">H4S&#160;2A1</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2022-06-01_to_2022-06-01">857</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2022-06-01_to_2022-06-01">412-7018</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2022-06-01_to_2022-06-01">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2022-06-01_to_2022-06-01">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2022-06-01_to_2022-06-01">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2022-06-01_to_2022-06-01">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2022-06-01_to_2022-06-01">Common shares, no par value</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-06-01_to_2022-06-01">RPTX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-06-01_to_2022-06-01">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2022-06-01_to_2022-06-01">false</dei:EntityEmergingGrowthCompany>
</xbrl>
