<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="hrmy-20261012.xsd" xlink:type="simple"/>
    <context id="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001802665</identifier>
        </entity>
        <period>
            <startDate>2026-10-12</startDate>
            <endDate>2026-10-12</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Tc_SYqc-rOxZkyhyaxii857wA_2_1">0001802665</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Tc_iFxRVhMoOUq-s1F_boaUiA_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_-VM92xJc7Emw6AsYt8kcmA">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_d5lZns6UZ02BE7UhxWBi4A">2026-10-12</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_x5-RSE5BCUuRiQx7BjVv1A">HARMONY BIOSCIENCES HOLDINGS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Tc_nK_3_4_1EU2D9F_r9y3Muw_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Tc_7p607PUWTEK4wATsWuBuxA_1_1">001-39450</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Tc_JWYkcX7HQU2xeFxH3t_IzQ_1_2">82-2279923</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_4SZsfgHSMkuBg8OdbDhTFQ">630 W. Germantown Pike</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_xxVc6Ws0r0uIfrm4mLl1Tw">Suite 215</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_TYet6qI8S0OgPSj6x66kDg">Plymouth Meeting</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_hWPgU5WBmU2c1t58cmDyEw">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_hpb2HkTT9Umvn-uLV44tFw">19462</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_PDUGtoFU1k24ZwhkNjTr8A">484</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_4VwINjAXI0isUx1LSUkWNA">539-9800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_rNPn73TWZUG46qMC_Epovw">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr__6HRwPBRF0uWzc3wlW7uqQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_Fip2t9hHhk-bix5c7KWagQ">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_9QZWDAkW7EuaQwiFHe850g">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Tc_G_6MkrsonEKHVaCEuQeVhw_3_0">Common Stock, $0.00001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Tc_FaEVGPd2B0WksXaxU_YdYA_3_2">HRMY</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Tc_zkEQLhyy7EqsR698AUMjaA_3_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_10_12_2026_To_10_12_2026_zMfBlLj-AUS9YB1kTsG83Q"
      id="Narr_4nGiTuQ_A0SodxE5wcT6Tg">false</dei:EntityEmergingGrowthCompany>
</xbrl>
