<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:country="http://xbrl.sec.gov/country/2024"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:ero="http://www.erocopper.com/20231231"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rxp="http://xbrl.sec.gov/rxp/2024q3"
  xmlns:snj="http://xbrl.sec.gov/snj/2024"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ero-20231231.xsd" xlink:type="simple"/>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_StateGovernmentOfMatoGrossoTaxAuthorityMember_DwxsSFUxSkShb8W4FuTFbg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:CountryAxis">country:BR</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rxp:GovernmentAxis">ero:StateGovernmentOfMatoGrossoTaxAuthorityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilDepartmentOfMiningProductionMember_0L8Ab1fKkUaR5ph7yr1OJA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:CountryAxis">country:BR</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rxp:GovernmentAxis">ero:FederalGovernmentOfBrazilDepartmentOfMiningProductionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_MunicipalGovernmentOfTucumaCityHallMember_Tb_u8Kt45UKz-P5Np0RSyw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:CountryAxis">country:BR</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rxp:GovernmentAxis">ero:MunicipalGovernmentOfTucumaCityHallMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilTaxAuthorityMember_yxrZ04Zy0Eq59ZCyFGqBRg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:CountryAxis">country:BR</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rxp:GovernmentAxis">ero:FederalGovernmentOfBrazilTaxAuthorityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilNationalMiningAgencyMember_NeXcAK671UCMzQEVd_9sGQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:CountryAxis">country:BR</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rxp:GovernmentAxis">ero:FederalGovernmentOfBrazilNationalMiningAgencyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_XavantinaMember_-UNq5eZUfEuH_LrAoLXOog">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:ProjectAxis">ero:XavantinaMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_TucumaMember_Ogyg2ndqGEybvbKusb9MNQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:ProjectAxis">ero:TucumaMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_CaraibaMember_oWoryZQORkuE-eWDYmP_JQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:ProjectAxis">ero:CaraibaMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_9_rSuuRsrjUk27JH3WD0KHEg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>9</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_8_k136zzZNQ0CeyxFm0B19jA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>8</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_7_vGPVuV_2JkOdBgVKXMwuJA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>7</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_6_8TH5l2x7nU-a3oHburQARg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>6</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_5_Nw6A8LsIV06TeBRNU-7twA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>5</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_4_Hwt6Jm9gP0qYD8r-VXO8sA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>4</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_3_nwyUIjbqqE6TTCuH0tEe0g">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>3</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_2_puP_kgSdC0uiKb3rBxsKow">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>2</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_11_u_UAiwEimkGcO9RwhrbnMA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>11</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_10_EQuTb80rzE2mSIN9H7pzbQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>10</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_1_btGTyalTp0CKcihHCpvqLA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>1</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001853860</identifier>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <unit id="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:DocumentType
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      id="Tc_fvweEzbAN0mrN4nHRFp0xQ_2_1">2.01 SD</dei:DocumentType>
    <dei:AmendmentFlag
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      id="Tc_ccOyOBRqRUay5SgjWtHjBw_3_1">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      id="Tc_EqFATXj8pkaj4buUTXlWDw_4_1">0001853860</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      id="Tc_F00TwzrqvEW0WOvZMw0JdQ_5_1">Ero Copper Corp.</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      id="Tc_auuTTX_fSE6qgB84cpIY2g_6_1">2023-12-31</dei:DocumentPeriodEndDate>
    <dei:EntityReportingCurrencyISOCode
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      id="Tc_Tx6wdTWqV0KyicQybkSUag_7_1">USD</dei:EntityReportingCurrencyISOCode>
    <rxp:AlternativeReportingRegime
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      id="Tc_uaA-gt5qZkO9XARPCB4ZWg_8_1">CA</rxp:AlternativeReportingRegime>
    <rxp:Taxes
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      decimals="0"
      id="Tc_88kaXThsVEKuvow2e58NTA_2_0"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">14310000</rxp:Taxes>
    <rxp:Royalties
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      decimals="0"
      id="Tc_v24LkZUcAEyGs_CilSbQBw_2_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">8270000</rxp:Royalties>
    <rxp:Fees
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      decimals="0"
      id="Tc_noNescf5mkuTygtumIgmoQ_2_2"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">740000</rxp:Fees>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_KsE_vd7IJUy44N0FCOB9RA"
      decimals="0"
      id="Tc_zdTpsJ6vckakLoMgb6GfBA_2_7"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">22580000</rxp:TotalPayments>
    <rxp:Taxes
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilTaxAuthorityMember_yxrZ04Zy0Eq59ZCyFGqBRg"
      decimals="0"
      id="Tc_3LgkgxtutEas_jGbX7I2TQ_2_2"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">14310000</rxp:Taxes>
    <rxp:Fees
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilTaxAuthorityMember_yxrZ04Zy0Eq59ZCyFGqBRg"
      decimals="0"
      id="Tc_UavCjaaC50CHS7Cw_j3lRw_2_4"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">50000</rxp:Fees>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilTaxAuthorityMember_yxrZ04Zy0Eq59ZCyFGqBRg"
      decimals="0"
      id="Tc_jP515WbQR06gX980TTe55Q_2_9"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">14360000</rxp:TotalPayments>
    <rxp:Royalties
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilDepartmentOfMiningProductionMember_0L8Ab1fKkUaR5ph7yr1OJA"
      decimals="0"
      id="Tc_c_dANG75nUC0EBcv6h7aWw_3_3"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">7350000</rxp:Royalties>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilDepartmentOfMiningProductionMember_0L8Ab1fKkUaR5ph7yr1OJA"
      decimals="0"
      id="Tc_nvwLiToWbki4xRY_JU1j7w_3_9"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">7350000</rxp:TotalPayments>
    <rxp:Fees
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilNationalMiningAgencyMember_NeXcAK671UCMzQEVd_9sGQ"
      decimals="0"
      id="Tc_eSD6AnmrLEyP-NYmzWeYsQ_4_4"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">200000</rxp:Fees>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_FederalGovernmentOfBrazilNationalMiningAgencyMember_NeXcAK671UCMzQEVd_9sGQ"
      decimals="0"
      id="Tc_8frtkqmHsEaU8dAHsgSNbg_4_9"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">200000</rxp:TotalPayments>
    <rxp:Royalties
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_StateGovernmentOfMatoGrossoTaxAuthorityMember_DwxsSFUxSkShb8W4FuTFbg"
      decimals="0"
      id="Tc_rw6bb9bT1UWtwDn8X1Af-Q_5_3"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">920000</rxp:Royalties>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_StateGovernmentOfMatoGrossoTaxAuthorityMember_DwxsSFUxSkShb8W4FuTFbg"
      decimals="0"
      id="Tc_M9gAEo0j0EyOCDLGiE4pWw_5_9"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">920000</rxp:TotalPayments>
    <rxp:Fees
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_MunicipalGovernmentOfTucumaCityHallMember_Tb_u8Kt45UKz-P5Np0RSyw"
      decimals="0"
      id="Tc_k8A0wYE2akiSqPEiobSjrg_6_4"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">490000</rxp:Fees>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_CountryAxis_country_BR_rxp_GovernmentAxis_ero_MunicipalGovernmentOfTucumaCityHallMember_Tb_u8Kt45UKz-P5Np0RSyw"
      decimals="0"
      id="Tc_B0g9dEC3EE-YuXtWJ2zPew_6_9"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">490000</rxp:TotalPayments>
    <rxp:Taxes
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_CaraibaMember_oWoryZQORkuE-eWDYmP_JQ"
      decimals="0"
      id="Tc_TujWxsQTjU2mGqx6XW7ncw_2_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">8730000</rxp:Taxes>
    <rxp:Royalties
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_CaraibaMember_oWoryZQORkuE-eWDYmP_JQ"
      decimals="0"
      id="Tc_DBY-e61Rmkmu-N8p3RoZsA_2_2"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">5620000</rxp:Royalties>
    <rxp:Fees
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_CaraibaMember_oWoryZQORkuE-eWDYmP_JQ"
      decimals="0"
      id="Tc_6Z-dPZM4E0yO8GtVoHX5rw_2_3"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">140000</rxp:Fees>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_CaraibaMember_oWoryZQORkuE-eWDYmP_JQ"
      decimals="0"
      id="Tc_UbC-wgswIUiyvGtNEc9HPQ_2_8"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">14490000</rxp:TotalPayments>
    <rxp:Taxes
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_XavantinaMember_-UNq5eZUfEuH_LrAoLXOog"
      decimals="0"
      id="Tc_EB5int3qBke0WdIhyklh-Q_3_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">5580000</rxp:Taxes>
    <rxp:Royalties
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_XavantinaMember_-UNq5eZUfEuH_LrAoLXOog"
      decimals="0"
      id="Tc_Ws75rNnsZU-313ijGNc1Lg_3_2"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">2650000</rxp:Royalties>
    <rxp:Fees
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_XavantinaMember_-UNq5eZUfEuH_LrAoLXOog"
      decimals="0"
      id="Tc_-GPaJQ1CEUq0lwWf-SrGxA_3_3"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">110000</rxp:Fees>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_XavantinaMember_-UNq5eZUfEuH_LrAoLXOog"
      decimals="0"
      id="Tc_6yDMNv8LMUKwsoQtTRLqUw_3_8"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">8340000</rxp:TotalPayments>
    <rxp:Fees
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_TucumaMember_Ogyg2ndqGEybvbKusb9MNQ"
      decimals="0"
      id="Tc_sCSiQ9oV6kyLoiW-318Z-A_4_3"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">490000</rxp:Fees>
    <rxp:TotalPayments
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_ProjectAxis_ero_TucumaMember_Ogyg2ndqGEybvbKusb9MNQ"
      decimals="0"
      id="Tc_qfruOZErVU-57Ireui3fqg_4_8"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">490000</rxp:TotalPayments>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_1_btGTyalTp0CKcihHCpvqLA"
      decimals="0"
      id="Tc_1AX6ChSae0aTopehZBN7FQ_2_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">8730000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_1_btGTyalTp0CKcihHCpvqLA"
      id="Tc_2mrDf4_jpUuzDdtdt59w5w_2_2">rxp:Taxes</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_1_btGTyalTp0CKcihHCpvqLA"
      id="Tc_MeF2ZGxxHUWCkzsPkEg6CQ_2_3">country:BR</rxp:Co>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_1_btGTyalTp0CKcihHCpvqLA"
      id="Tc_a6kH0kRNtUuCGpANYIHpqA_2_5">ero:FederalGovernmentOfBrazilTaxAuthorityMember</rxp:Gv>
    <rxp:Pr
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_1_btGTyalTp0CKcihHCpvqLA"
      id="Tc_ezCnsSn2Kk2mlfJaDOeLLQ_2_6">ero:CaraibaMember</rxp:Pr>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_2_puP_kgSdC0uiKb3rBxsKow"
      decimals="0"
      id="Tc_Zz1sVQYoyESQcnIGgTnhsg_3_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">5580000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_2_puP_kgSdC0uiKb3rBxsKow"
      id="Tc_qP01bQRitUaV5l5x2r0S_A_3_2">rxp:Taxes</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_2_puP_kgSdC0uiKb3rBxsKow"
      id="Tc__9WrAeV26U2QUk8jNCD9gw_3_3">country:BR</rxp:Co>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_2_puP_kgSdC0uiKb3rBxsKow"
      id="Tc_LV-xY_zg-EGbWL4_ZqFRiw_3_5">ero:FederalGovernmentOfBrazilTaxAuthorityMember</rxp:Gv>
    <rxp:Pr
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_2_puP_kgSdC0uiKb3rBxsKow"
      id="Tc_JOZR7_-f7Eun0tvzXvFUzA_3_6">ero:XavantinaMember</rxp:Pr>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_3_nwyUIjbqqE6TTCuH0tEe0g"
      decimals="0"
      id="Tc_XcokVMe7WEWnGJHW0sHzYg_4_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">50000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_3_nwyUIjbqqE6TTCuH0tEe0g"
      id="Tc_566elJA2M0CwEVai3PstCw_4_2">rxp:Royalties</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_3_nwyUIjbqqE6TTCuH0tEe0g"
      id="Tc_ylbvrEdx6ECYmz-wEvl-hw_4_3">country:BR</rxp:Co>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_3_nwyUIjbqqE6TTCuH0tEe0g"
      id="Tc_dUn1-avFnkuOhj8Fm8t6ow_4_5">ero:FederalGovernmentOfBrazilTaxAuthorityMember</rxp:Gv>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_4_Hwt6Jm9gP0qYD8r-VXO8sA"
      decimals="0"
      id="Tc_OjmUe7rCP0a53ZkJWLyQug_5_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">7350000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_4_Hwt6Jm9gP0qYD8r-VXO8sA"
      id="Tc_X1bi4XOaKE2eD70_SAUMgQ_5_2">rxp:Fees</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_4_Hwt6Jm9gP0qYD8r-VXO8sA"
      id="Tc_hD4NQYFCWE64WqBVXelGUA_5_3">country:BR</rxp:Co>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_4_Hwt6Jm9gP0qYD8r-VXO8sA"
      id="Tc_fHCZVjb-bkeyKEouSVkn0g_5_5">ero:FederalGovernmentOfBrazilDepartmentOfMiningProductionMember</rxp:Gv>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_5_Nw6A8LsIV06TeBRNU-7twA"
      decimals="0"
      id="Tc_7IDpCv9of0Sqvok9TPHX1A_6_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">200000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_5_Nw6A8LsIV06TeBRNU-7twA"
      id="Tc_UGZvwII1CUW2Fcvt_nz_Qg_6_2">rxp:Taxes</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_5_Nw6A8LsIV06TeBRNU-7twA"
      id="Tc_w9STSGfD6UOj6uGFEbp_MA_6_3">country:BR</rxp:Co>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_5_Nw6A8LsIV06TeBRNU-7twA"
      id="Tc_78soT2fLHkq7txEjD0kNlg_6_5">ero:FederalGovernmentOfBrazilNationalMiningAgencyMember</rxp:Gv>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_6_8TH5l2x7nU-a3oHburQARg"
      decimals="0"
      id="Tc_bi4kzs1elUym2LN81-LMqQ_7_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">920000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_6_8TH5l2x7nU-a3oHburQARg"
      id="Tc_mdQcDxwnu0uh3iSaDOS29w_7_2">rxp:Royalties</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_6_8TH5l2x7nU-a3oHburQARg"
      id="Tc_y_jz_9aIbEOSLGAWb_Aecw_7_3">country:BR</rxp:Co>
    <rxp:Sn
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_6_8TH5l2x7nU-a3oHburQARg"
      id="Tc_iKfRaZV1YkaKtXM8bmCDOw_7_4">snj:BR-MT</rxp:Sn>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_6_8TH5l2x7nU-a3oHburQARg"
      id="Tc_bJfTdi_J1EW8F08kFHvWSQ_7_5">ero:StateGovernmentOfMatoGrossoTaxAuthorityMember</rxp:Gv>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_7_vGPVuV_2JkOdBgVKXMwuJA"
      decimals="0"
      id="Tc_zd4Fn_xxaEyZHAyC9ak9QQ_8_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">5620000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_7_vGPVuV_2JkOdBgVKXMwuJA"
      id="Tc__vOpFUrUk0aXES4SIqGz3Q_8_2">rxp:Royalties</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_7_vGPVuV_2JkOdBgVKXMwuJA"
      id="Tc_VTufnB7XpkOQYdYZHHU_6w_8_3">country:BR</rxp:Co>
    <rxp:Pr
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_7_vGPVuV_2JkOdBgVKXMwuJA"
      id="Tc__t9LWi8Iok2TIjxFWgJSag_8_6">ero:CaraibaMember</rxp:Pr>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_8_k136zzZNQ0CeyxFm0B19jA"
      decimals="0"
      id="Tc_o1DGrvtqJ0m4fZboNT0eOA_9_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">2650000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_8_k136zzZNQ0CeyxFm0B19jA"
      id="Tc_NxafT9R82kW5XX86E-IBiA_9_2">rxp:Royalties</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_8_k136zzZNQ0CeyxFm0B19jA"
      id="Tc_WXpPP7Zr_0KJNbpEl8fTwQ_9_3">country:BR</rxp:Co>
    <rxp:Pr
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_8_k136zzZNQ0CeyxFm0B19jA"
      id="Tc_bpsD0hFGXkuPH-dhTsMeUw_9_6">ero:XavantinaMember</rxp:Pr>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_9_rSuuRsrjUk27JH3WD0KHEg"
      decimals="0"
      id="Tc_oQm2RP0aG0WM0A3KvVn_0w_10_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">490000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_9_rSuuRsrjUk27JH3WD0KHEg"
      id="Tc_leruze_ve0yyn9lt3_S4Uw_10_2">rxp:Fees</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_9_rSuuRsrjUk27JH3WD0KHEg"
      id="Tc_twoP75hGsU-aEGZHCsvijg_10_3">country:BR</rxp:Co>
    <rxp:Sn
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_9_rSuuRsrjUk27JH3WD0KHEg"
      id="Tc_ztVlsMMZUkmXKn5nVbbjoA_10_4">snj:BR-PA</rxp:Sn>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_9_rSuuRsrjUk27JH3WD0KHEg"
      id="Tc_NbeENzbB-EO2HqpVX9WSvA_10_5">ero:MunicipalGovernmentOfTucumaCityHallMember</rxp:Gv>
    <rxp:Pr
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_9_rSuuRsrjUk27JH3WD0KHEg"
      id="Tc_RtcC6CIPSU6NqOUiIN7Q5w_10_6">ero:TucumaMember</rxp:Pr>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_10_EQuTb80rzE2mSIN9H7pzbQ"
      decimals="0"
      id="Tc_OwmewgvYeEWdXRSC4rvp7A_11_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">140000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_10_EQuTb80rzE2mSIN9H7pzbQ"
      id="Tc_b41jxeBP7UanWFxcqtkfNw_11_2">rxp:Fees</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_10_EQuTb80rzE2mSIN9H7pzbQ"
      id="Tc_s-uHlrlkkUme-AIDlaqY0A_11_3">country:BR</rxp:Co>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_10_EQuTb80rzE2mSIN9H7pzbQ"
      id="Tc_YoTqhyhGjEaHr98WoKRNCQ_11_5">ero:FederalGovernmentOfBrazilDepartmentOfMiningProductionMember</rxp:Gv>
    <rxp:A
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_11_u_UAiwEimkGcO9RwhrbnMA"
      decimals="0"
      id="Tc_-pcT_KvjI0SdZHPR5cMZOg_12_1"
      unitRef="Unit_Standard_USD_Xri1rY_FQU6lQpBSSbGFlQ">110000</rxp:A>
    <rxp:P
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_11_u_UAiwEimkGcO9RwhrbnMA"
      id="Tc_Btf68_hD00WNHPDonJUkCQ_12_2">rxp:Fees</rxp:P>
    <rxp:Co
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_11_u_UAiwEimkGcO9RwhrbnMA"
      id="Tc_VQIR1P-2pE2XSj_pTm2sGw_12_3">country:BR</rxp:Co>
    <rxp:Gv
      contextRef="Duration_1_1_2023_To_12_31_2023_rxp_PmtAxis_11_u_UAiwEimkGcO9RwhrbnMA"
      id="Tc_-BL3Y5u7y0W4Ie8006ytxQ_12_5">ero:MunicipalGovernmentOfTucumaCityHallMember</rxp:Gv>
</xbrl>