<?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-20260414.xsd" xlink:type="simple"/>
    <context id="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001802665</identifier>
        </entity>
        <period>
            <startDate>2026-04-14</startDate>
            <endDate>2026-04-14</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Tc_n25_UM2-IEKDQgOuuN5r8A_2_1">0001802665</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Tc_49Fq8_i1dkmwmYc3HYShhg_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_PUSXzEuiBEeM7qJ9-CEapg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_5zghpA2CiEaQwJCOJVTtUQ">2026-04-14</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_L8Yof1OGw0qPcdhp3GM1Hw">HARMONY BIOSCIENCES HOLDINGS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Tc_ZF1iCpG0y0KzF1KVzDC7hg_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Tc_lfrN820m6U6H3MIuQCk3vQ_1_1">001-39450</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Tc_wrs6LZuR30q83ex3JdrKRA_1_2">82-2279923</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_DlBTKfwJJ0Smg3YkH1mhjA">630 W. Germantown Pike</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_9mbKRbgBQ0Ojb4wmS5GbMQ">Suite 215</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_VrEptak65U2WTNjQRqCEGA">Plymouth Meeting</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_IThoYHzi3kW8YTn_28oUew">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_Dl8XogWMC0-00APZ01UxKw">19462</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_vezvdHhT3EuVXoxGqlnd7A">484</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_Ttzi0XOzMU-hUzXvrKaa_g">539-9800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_4BVgpJIRu0ejc5V73aINYw">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_hnKO9TuCQkiPb8RSoIn10w">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_xllzUwiMuUGs4miaImH3Cw">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_oKm6wwmMBE6iQMpqrmb5xg">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Tc_pGAY6QX7OkaWAgueu9zB4w_3_0">Common Stock, $0.00001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Tc_MY6IEpGsbE-PKxCJvlI4dA_3_2">HRMY</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Tc_iRlyEXBVCkeImOfu2Kv45g_3_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_4_14_2026_To_4_14_2026_sI0A9EqHv0e91qewVTy2qg"
      id="Narr_91RAngfAaEW3wA6c81R63A">false</dei:EntityEmergingGrowthCompany>
</xbrl>
