<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:METC="http://ramacoresources.com/20250918"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="metc-20250918.xsd" xlink:type="simple"/>
    <context id="AsOf2025-09-18">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001687187</identifier>
        </entity>
        <period>
            <startDate>2025-09-18</startDate>
            <endDate>2025-09-18</endDate>
        </period>
    </context>
    <context id="From2025-09-182025-09-18_custom_ClassCommonStock0.01ParValueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001687187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">METC:ClassCommonStock0.01ParValueMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-09-18</startDate>
            <endDate>2025-09-18</endDate>
        </period>
    </context>
    <context id="From2025-09-182025-09-18_custom_ClassBCommonStock0.01ParValueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001687187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">METC:ClassBCommonStock0.01ParValueMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-09-18</startDate>
            <endDate>2025-09-18</endDate>
        </period>
    </context>
    <context id="From2025-09-182025-09-18_custom_Sec8.375SeniorNotesDue2029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001687187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">METC:Sec8.375SeniorNotesDue2029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-09-18</startDate>
            <endDate>2025-09-18</endDate>
        </period>
    </context>
    <context id="From2025-09-182025-09-18_custom_Sec8.250SeniorNotesDue2030Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001687187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">METC:Sec8.250SeniorNotesDue2030Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-09-18</startDate>
            <endDate>2025-09-18</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2025-09-18" id="Fact000003">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2025-09-18" id="Fact000004">0001687187</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="AsOf2025-09-18" id="Fact000009">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="AsOf2025-09-18" id="Fact000010">2025-09-18</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="AsOf2025-09-18" id="Fact000011">Ramaco Resources, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="AsOf2025-09-18" id="Fact000012">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="AsOf2025-09-18" id="Fact000013">001-38003</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="AsOf2025-09-18" id="Fact000014">38-4018838</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="AsOf2025-09-18" id="Fact000015">250 West Main Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="AsOf2025-09-18" id="Fact000016">Suite 1900</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="AsOf2025-09-18" id="Fact000017">Lexington</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="AsOf2025-09-18" id="Fact000018">KY</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="AsOf2025-09-18" id="Fact000019">40507</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="AsOf2025-09-18" id="Fact000020">859</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="AsOf2025-09-18" id="Fact000021">244-7455</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="AsOf2025-09-18" id="Fact000022">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="AsOf2025-09-18" id="Fact000023">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="AsOf2025-09-18" id="Fact000024">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="AsOf2025-09-18" id="Fact000025">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="From2025-09-182025-09-18_custom_ClassCommonStock0.01ParValueMember"
      id="Fact000026">Class     A common stock, $0.01 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2025-09-182025-09-18_custom_ClassCommonStock0.01ParValueMember"
      id="Fact000027">METC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2025-09-182025-09-18_custom_ClassCommonStock0.01ParValueMember"
      id="Fact000028">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="From2025-09-182025-09-18_custom_ClassBCommonStock0.01ParValueMember"
      id="Fact000029">Class     B common stock, $0.01 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2025-09-182025-09-18_custom_ClassBCommonStock0.01ParValueMember"
      id="Fact000030">METCB</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2025-09-182025-09-18_custom_ClassBCommonStock0.01ParValueMember"
      id="Fact000031">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="From2025-09-182025-09-18_custom_Sec8.375SeniorNotesDue2029Member"
      id="Fact000032">8.375%     Senior Notes due 2029</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2025-09-182025-09-18_custom_Sec8.375SeniorNotesDue2029Member"
      id="Fact000033">METCZ</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2025-09-182025-09-18_custom_Sec8.375SeniorNotesDue2029Member"
      id="Fact000034">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="From2025-09-182025-09-18_custom_Sec8.250SeniorNotesDue2030Member"
      id="Fact000035">8.250%     Senior Notes due 2030</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2025-09-182025-09-18_custom_Sec8.250SeniorNotesDue2030Member"
      id="Fact000036">METCI</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2025-09-182025-09-18_custom_Sec8.250SeniorNotesDue2030Member"
      id="Fact000037">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="AsOf2025-09-18" id="Fact000038">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="AsOf2025-09-18" id="Fact000039">This
Amendment No. 1 on Form 8-K/A (this &#x201c;Amendment&#x201d;) amends the Current Report on Form 8-K of Ramaco Resources, Inc. (the &#x201c;Company&#x201d;)
filed with the Securities and Exchange Commission on September 18, 2025 (the &#x201c;Original Form 8-K&#x201d;). The Company is filing
this Amendment to replace Exhibit 99.1 (the &#x201c;Shareholder Letter&#x201d;) to the Original Form 8-K with a revised Shareholder Letter
reflecting: (i) the removal of certain tabulations covering development options, margin analysis, cash flow analysis, valuation, and
summary of production metrics, and to make related conforming changes to the Shareholder Letter; (ii) clarification that the study prepared
by the Fluor Corporation titled &#x201c;Preliminary Economic Assessment&#x201d; was a conceptual study, and to reference such study as
the &#x201c;Fluor Study&#x201d;; and (iii) an explanatory note at the top of the letter explaining the foregoing revisions.</dei:AmendmentDescription>
</xbrl>
