<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>449</ContextCount>
  <ElementCount>654</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>147</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>17</UnitCount>
  <MyReports>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952152 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/ConsolidatedStatementsofOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - Statement - Consolidated Statements of Changes in Mezzanine Equity and Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/ConsolidatedStatementsofChangesinMezzanineEquityandStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Mezzanine Equity and Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952157 - Disclosure - DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/DESCRIPTIONOFBUSINESSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - REVENUE RECOGNITION AND RELATED ALLOWANCES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/REVENUERECOGNITIONANDRELATEDALLOWANCES</Role>
      <ShortName>REVENUE RECOGNITION AND RELATED ALLOWANCES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - BUSINESS COMBINATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/BUSINESSCOMBINATION</Role>
      <ShortName>BUSINESS COMBINATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - RESTRUCTURING CANADA OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/RESTRUCTURINGCANADAOPERATIONS</Role>
      <ShortName>RESTRUCTURING CANADA OPERATIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - 2021 CREDIT FACILITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2021CREDITFACILITY</Role>
      <ShortName>2021 CREDIT FACILITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - 2024 CREDIT AGREEMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2024CREDITAGREEMENT</Role>
      <ShortName>2024 CREDIT AGREEMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - 2.25% CONVERTIBLE SENIOR NOTES</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A225CONVERTIBLESENIORNOTES</Role>
      <ShortName>2.25% CONVERTIBLE SENIOR NOTES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENT AND HEDGING ACTIVITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/DERIVATIVEFINANCIALINSTRUMENTANDHEDGINGACTIVITY</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENT AND HEDGING ACTIVITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - INVENTORIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INVENTORIES</Role>
      <ShortName>INVENTORIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - PROPERTY AND EQUIPMENT, NET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/PROPERTYANDEQUIPMENTNET</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - GOODWILL AND INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/GOODWILLANDINTANGIBLEASSETS</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - FAIR VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/FAIRVALUE</Role>
      <ShortName>FAIR VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - MEZZANINE AND STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/MEZZANINEANDSTOCKHOLDERSEQUITY</Role>
      <ShortName>MEZZANINE AND STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - EARNINGS (LOSS) PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/EARNINGSLOSSPERSHARE</Role>
      <ShortName>EARNINGS (LOSS) PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - STOCK-BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATION</Role>
      <ShortName>STOCK-BASED COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/COMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/RELATEDPARTYTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9952175 - Disclosure - SEGMENT REPORTING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/SEGMENTREPORTING</Role>
      <ShortName>SEGMENT REPORTING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9952176 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/SUBSEQUENTEVENTS</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/DESCRIPTIONOFBUSINESSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/DESCRIPTIONOFBUSINESSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</Role>
      <ShortName>DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/DESCRIPTIONOFBUSINESSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - REVENUE RECOGNITION AND RELATED ALLOWANCES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/REVENUERECOGNITIONANDRELATEDALLOWANCESTables</Role>
      <ShortName>REVENUE RECOGNITION AND RELATED ALLOWANCES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/REVENUERECOGNITIONANDRELATEDALLOWANCES</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - BUSINESS COMBINATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/BUSINESSCOMBINATIONTables</Role>
      <ShortName>BUSINESS COMBINATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/BUSINESSCOMBINATION</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - 2021 CREDIT FACILITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2021CREDITFACILITYTables</Role>
      <ShortName>2021 CREDIT FACILITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/A2021CREDITFACILITY</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - 2024 CREDIT AGREEMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2024CREDITAGREEMENTTables</Role>
      <ShortName>2024 CREDIT AGREEMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/A2024CREDITAGREEMENT</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - INVENTORIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INVENTORIESTables</Role>
      <ShortName>INVENTORIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/INVENTORIES</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - PROPERTY AND EQUIPMENT, NET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/PROPERTYANDEQUIPMENTNETTables</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/PROPERTYANDEQUIPMENTNET</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - GOODWILL AND INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/GOODWILLANDINTANGIBLEASSETSTables</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/GOODWILLANDINTANGIBLEASSETS</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - FAIR VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/FAIRVALUETables</Role>
      <ShortName>FAIR VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/FAIRVALUE</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - EARNINGS (LOSS) PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/EARNINGSLOSSPERSHARETables</Role>
      <ShortName>EARNINGS (LOSS) PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/EARNINGSLOSSPERSHARE</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - STOCK-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATIONTables</Role>
      <ShortName>STOCK-BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATION</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/INCOMETAXES</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/COMMITMENTSANDCONTINGENCIESTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/COMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/RELATEDPARTYTRANSACTIONSTables</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/RELATEDPARTYTRANSACTIONS</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - SEGMENT REPORTING (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/SEGMENTREPORTINGTables</Role>
      <ShortName>SEGMENT REPORTING (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/SEGMENTREPORTING</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/DESCRIPTIONOFBUSINESSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails</Role>
      <ShortName>DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/DESCRIPTIONOFBUSINESSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - PPE and Intangibles (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/DESCRIPTIONOFBUSINESSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPPEandIntangiblesDetails</Role>
      <ShortName>DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - PPE and Intangibles (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - REVENUE RECOGNITION AND RELATED ALLOWANCES - Disaggregation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/REVENUERECOGNITIONANDRELATEDALLOWANCESDisaggregationDetails</Role>
      <ShortName>REVENUE RECOGNITION AND RELATED ALLOWANCES - Disaggregation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - REVENUE RECOGNITION AND RELATED ALLOWANCES - Timing (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/REVENUERECOGNITIONANDRELATEDALLOWANCESTimingDetails</Role>
      <ShortName>REVENUE RECOGNITION AND RELATED ALLOWANCES - Timing (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/REVENUERECOGNITIONANDRELATEDALLOWANCESTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - REVENUE RECOGNITION AND RELATED ALLOWANCES - Allowances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/REVENUERECOGNITIONANDRELATEDALLOWANCESAllowancesDetails</Role>
      <ShortName>REVENUE RECOGNITION AND RELATED ALLOWANCES - Allowances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - REVENUE RECOGNITION AND RELATED ALLOWANCES - Concentration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/REVENUERECOGNITIONANDRELATEDALLOWANCESConcentrationDetails</Role>
      <ShortName>REVENUE RECOGNITION AND RELATED ALLOWANCES - Concentration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - BUSINESS COMBINATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/BUSINESSCOMBINATIONNarrativeDetails</Role>
      <ShortName>BUSINESS COMBINATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - BUSINESS COMBINATION - Business acquisitions, by acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/BUSINESSCOMBINATIONBusinessacquisitionsbyacquisitionDetails</Role>
      <ShortName>BUSINESS COMBINATION - Business acquisitions, by acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - BUSINESS COMBINATION - Recognized identified assets acquired and liabilities assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/BUSINESSCOMBINATIONRecognizedidentifiedassetsacquiredandliabilitiesassumedDetails</Role>
      <ShortName>BUSINESS COMBINATION - Recognized identified assets acquired and liabilities assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - BUSINESS COMBINATION - Finite-lived intangible assets acquired as part of business combination (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/BUSINESSCOMBINATIONFinitelivedintangibleassetsacquiredaspartofbusinesscombinationDetails</Role>
      <ShortName>BUSINESS COMBINATION - Finite-lived intangible assets acquired as part of business combination (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - BUSINESS COMBINATION - Pro-forma activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/BUSINESSCOMBINATIONProformaactivityDetails</Role>
      <ShortName>BUSINESS COMBINATION - Pro-forma activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - RESTRUCTURING CANADA OPERATIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/RESTRUCTURINGCANADAOPERATIONSDetails</Role>
      <ShortName>RESTRUCTURING CANADA OPERATIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/RESTRUCTURINGCANADAOPERATIONS</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - 2021 CREDIT FACILITY - Credit facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2021CREDITFACILITYCreditfacilityDetails</Role>
      <ShortName>2021 CREDIT FACILITY - Credit facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - 2021 CREDIT FACILITY - Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2021CREDITFACILITYInterestDetails</Role>
      <ShortName>2021 CREDIT FACILITY - Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - 2024 CREDIT AGREEMENT - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2024CREDITAGREEMENTNarrativeDetails</Role>
      <ShortName>2024 CREDIT AGREEMENT - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - 2024 CREDIT AGREEMENT - Facility components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2024CREDITAGREEMENTFacilitycomponentsDetails</Role>
      <ShortName>2024 CREDIT AGREEMENT - Facility components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - 2024 CREDIT AGREEMENT - Maturity of credit facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2024CREDITAGREEMENTMaturityofcreditfacilityDetails</Role>
      <ShortName>2024 CREDIT AGREEMENT - Maturity of credit facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - 2024 CREDIT AGREEMENT - Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A2024CREDITAGREEMENTInterestDetails</Role>
      <ShortName>2024 CREDIT AGREEMENT - Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - 2.25% CONVERTIBLE SENIOR NOTES - Narrative (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A225CONVERTIBLESENIORNOTESNarrativeDetails</Role>
      <ShortName>2.25% CONVERTIBLE SENIOR NOTES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - 2.25% CONVERTIBLE SENIOR NOTES - Capped call transactions (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/A225CONVERTIBLESENIORNOTESCappedcalltransactionsDetails</Role>
      <ShortName>2.25% CONVERTIBLE SENIOR NOTES - Capped call transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENT AND HEDGING ACTIVITY (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/DERIVATIVEFINANCIALINSTRUMENTANDHEDGINGACTIVITYDetails</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENT AND HEDGING ACTIVITY (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/DERIVATIVEFINANCIALINSTRUMENTANDHEDGINGACTIVITY</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - INVENTORIES - Schedule of inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INVENTORIESScheduleofinventoryDetails</Role>
      <ShortName>INVENTORIES - Schedule of inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - INVENTORIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INVENTORIESNarrativeDetails</Role>
      <ShortName>INVENTORIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - PROPERTY AND EQUIPMENT, NET - Schedule of property and equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/PROPERTYANDEQUIPMENTNETScheduleofpropertyandequipmentDetails</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET - Schedule of property and equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - PROPERTY AND EQUIPMENT, NET - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/PROPERTYANDEQUIPMENTNETNarrativeDetails</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/GOODWILLANDINTANGIBLEASSETSNarrativeDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/GOODWILLANDINTANGIBLEASSETSComponentsDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/GOODWILLANDINTANGIBLEASSETSAmortizationDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - FAIR VALUE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/FAIRVALUENarrativeDetails</Role>
      <ShortName>FAIR VALUE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - FAIR VALUE - CVR fair value level 3 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/FAIRVALUECVRfairvaluelevel3Details</Role>
      <ShortName>FAIR VALUE - CVR fair value level 3 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - FAIR VALUE - Level 3 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/FAIRVALUELevel3Details</Role>
      <ShortName>FAIR VALUE - Level 3 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - FAIR VALUE - Accrued licensor payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/FAIRVALUEAccruedlicensorpaymentsDetails</Role>
      <ShortName>FAIR VALUE - Accrued licensor payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - FAIR VALUE - Hierarchy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/FAIRVALUEHierarchyDetails</Role>
      <ShortName>FAIR VALUE - Hierarchy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - MEZZANINE AND STOCKHOLDERS' EQUITY (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/MEZZANINEANDSTOCKHOLDERSEQUITYDetails</Role>
      <ShortName>MEZZANINE AND STOCKHOLDERS' EQUITY (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/MEZZANINEANDSTOCKHOLDERSEQUITY</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - EARNINGS (LOSS) PER SHARE - Schedule of diluted earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/EARNINGSLOSSPERSHAREScheduleofdilutedearningspershareDetails</Role>
      <ShortName>EARNINGS (LOSS) PER SHARE - Schedule of diluted earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/EARNINGSLOSSPERSHARETables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - STOCK-BASED COMPENSATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATIONNarrativeDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - STOCK-BASED COMPENSATION - Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATIONExpenseDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - STOCK-BASED COMPENSATION - Fair value options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATIONFairvalueoptionsDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Fair value options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - STOCK-BASED COMPENSATION - Stock option activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATIONStockoptionactivityDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Stock option activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - STOCK-BASED COMPENSATION - RSA activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATIONRSAactivityDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - RSA activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - STOCK-BASED COMPENSATION - RSU activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATIONRSUactivityDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - RSU activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - STOCK-BASED COMPENSATION - Performance shares activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/STOCKBASEDCOMPENSATIONPerformancesharesactivityDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Performance shares activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - INCOME TAXES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - INCOME TAXES - Income (Loss) Before Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INCOMETAXESIncomeLossBeforeTaxesDetails</Role>
      <ShortName>INCOME TAXES - Income (Loss) Before Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - INCOME TAXES - Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INCOMETAXESProvisionDetails</Role>
      <ShortName>INCOME TAXES - Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - INCOME TAXES - Effective rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INCOMETAXESEffectiverateDetails</Role>
      <ShortName>INCOME TAXES - Effective rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - INCOME TAXES - Deferred tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INCOMETAXESDeferredtaxDetails</Role>
      <ShortName>INCOME TAXES - Deferred tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - INCOME TAXES - Income Taxes Paid (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/INCOMETAXESIncomeTaxesPaidDetails</Role>
      <ShortName>INCOME TAXES - Income Taxes Paid (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955575 - Disclosure - COMMITMENTS AND CONTINGENCIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955576 - Disclosure - COMMITMENTS AND CONTINGENCIES - Leases expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/COMMITMENTSANDCONTINGENCIESLeasesexpenseDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Leases expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955577 - Disclosure - COMMITMENTS AND CONTINGENCIES - Operating Lease maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/COMMITMENTSANDCONTINGENCIESOperatingLeasematurityDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Operating Lease maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955578 - Disclosure - COMMITMENTS AND CONTINGENCIES - Finance Lease maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/COMMITMENTSANDCONTINGENCIESFinanceLeasematurityDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Finance Lease maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955579 - Disclosure - RELATED PARTY TRANSACTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/RELATEDPARTYTRANSACTIONSDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.anipharmaceuticals.com/role/RELATEDPARTYTRANSACTIONSTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9955580 - Disclosure - RELATED PARTY TRANSACTIONS - Schedule of related parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/RELATEDPARTYTRANSACTIONSScheduleofrelatedpartiesDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - Schedule of related parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9955581 - Disclosure - SEGMENT REPORTING - Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/SEGMENTREPORTINGRevenueDetails</Role>
      <ShortName>SEGMENT REPORTING - Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="anip-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>9955582 - Disclosure - SEGMENT REPORTING - Geographic (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.anipharmaceuticals.com/role/SEGMENTREPORTINGGeographicDetails</Role>
      <ShortName>SEGMENT REPORTING - Geographic (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="anip-20251231.htm">anip-20251231.htm</File>
    <File>anip-20251231.xsd</File>
    <File>anip-20251231_cal.xml</File>
    <File>anip-20251231_def.xml</File>
    <File>anip-20251231_lab.xml</File>
    <File>anip-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>anip-20251231_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1636">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="39">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
