<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.1.1.u2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>130</ContextCount>
  <ElementCount>299</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>36</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000002 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000003 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000004 - Statement - Consolidated Statements of Operations (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/ConsolidatedStatementsOfOperationsUnaudited</Role>
      <ShortName>Consolidated Statements of Operations (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>000005 - Statement - Consolidated Statements of Changes in Redeemable Convertible Preferred Stock and Stockholders (Deficiency) Equity (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/ConsolidatedStatementsOfChangesInRedeemableConvertiblePreferredStockAndStockholdersDeficiencyEquityUnaudited</Role>
      <ShortName>Consolidated Statements of Changes in Redeemable Convertible Preferred Stock and Stockholders (Deficiency) Equity (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>000006 - Statement - Consolidated Statements of Cash Flows (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/ConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Consolidated Statements of Cash Flows (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>000007 - Disclosure - ORGANIZATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/ORGANIZATION</Role>
      <ShortName>ORGANIZATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>000008 - Disclosure - BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/BasisOfPresentation</Role>
      <ShortName>BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>000009 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>000010 - Disclosure - New and recently Adopted Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/NewAndRecentlyAdoptedAccountingPronouncements</Role>
      <ShortName>New and recently Adopted Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>000011 - Disclosure - ASSET PURCHASE AGREEMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AssetPurchaseAgreement</Role>
      <ShortName>ASSET PURCHASE AGREEMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>000012 - Disclosure - MANUFACTURING SUPPLY AGREEMENTS FOR VYLEESI</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/ManufacturingSupplyAgreementsForVyleesi</Role>
      <ShortName>MANUFACTURING SUPPLY AGREEMENTS FOR VYLEESI</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>000013 - Disclosure - AGREEMENT WITH FOSUN</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AgreementWithFosun</Role>
      <ShortName>AGREEMENT WITH FOSUN</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>000014 - Disclosure - AGREEMENT WITH KWANGDONG</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AgreementWithKwangdong</Role>
      <ShortName>AGREEMENT WITH KWANGDONG</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>000015 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/PrepaidExpensesAndOtherCurrentAssets</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>000016 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/FairValueMeasurements</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>000017 - Disclosure - INVENTORIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/INVENTORIES</Role>
      <ShortName>INVENTORIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>000018 - Disclosure - ACCRUED EXPENSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AccruedExpenses</Role>
      <ShortName>ACCRUED EXPENSES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>000019 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/CommitmentsAndContingencies</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>000020 - Disclosure - REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersEquity</Role>
      <ShortName>REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>000021 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/IncomeTaxes</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>000022 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://ptn.com/role/NewAndRecentlyAdoptedAccountingPronouncements</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>000023 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ptn.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>000024 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/PrepaidExpensesAndOtherCurrentAssetsTables</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ptn.com/role/PrepaidExpensesAndOtherCurrentAssets</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>000025 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/FairValueMeasurementsTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ptn.com/role/FairValueMeasurements</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>000026 - Disclosure - INVENTORIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/InventoriesTables</Role>
      <ShortName>INVENTORIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ptn.com/role/INVENTORIES</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>000027 - Disclosure - ACCRUED EXPENSES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AccruedExpensesTables</Role>
      <ShortName>ACCRUED EXPENSES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ptn.com/role/AccruedExpenses</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>000028 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ptn.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>000029 - Disclosure - REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS (DEFICIENCY) EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersDeficiencyEquityTables</Role>
      <ShortName>REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS (DEFICIENCY) EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersEquity</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>000030 - Disclosure - ORGANIZATION (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/OrganizationDetailsNarrative</Role>
      <ShortName>ORGANIZATION (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/ORGANIZATION</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>000031 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/SummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>000032 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>000033 - Disclosure - ASSET PURCHASE AGREEMENT (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AssetPurchaseAgreementDetailsNarrative</Role>
      <ShortName>ASSET PURCHASE AGREEMENT (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/AssetPurchaseAgreement</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>000034 - Disclosure - MANUFACTURING SUPPLY AGREEMENTS FOR VYLEESI (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/ManufacturingSupplyAgreementsForVyleesiDetailsNarrative</Role>
      <ShortName>MANUFACTURING SUPPLY AGREEMENTS FOR VYLEESI (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/ManufacturingSupplyAgreementsForVyleesi</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>000035 - Disclosure - AGREEMENT WITH FOSUN (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AgreementWithFosunDetailsNarrative</Role>
      <ShortName>AGREEMENT WITH FOSUN (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/AgreementWithFosun</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>000036 - Disclosure - AGREEMENT WITH KWANGDONG (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AgreementWithKwangdongDetailsNarrative</Role>
      <ShortName>AGREEMENT WITH KWANGDONG (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/AgreementWithKwangdong</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>000037 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/PrepaidExpensesAndOtherCurrentAssetsDetails</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/PrepaidExpensesAndOtherCurrentAssetsTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>000038 - Disclosure - FAIR VALUE MEASUREMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>000039 - Disclosure - INVENTORIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/InventoriesDetails</Role>
      <ShortName>INVENTORIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/InventoriesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>000040 - Disclosure - ACCRUED EXPENSES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/AccruedExpensesDetails</Role>
      <ShortName>ACCRUED EXPENSES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/AccruedExpensesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>000041 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>000042 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/CommitmentsAndContingenciesDetailsNarrative</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>000043 - Disclosure - REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS (DEFICIENCY) EQUITY (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersDeficiencyEquityDetails</Role>
      <ShortName>REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS (DEFICIENCY) EQUITY (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersDeficiencyEquityTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>000044 - Disclosure - REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersEquityDetails1</Role>
      <ShortName>REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersDeficiencyEquityTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>000045 - Disclosure - REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersEquityDetails2</Role>
      <ShortName>REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersDeficiencyEquityTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>000046 - Disclosure - REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersEquityDetails3</Role>
      <ShortName>REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersDeficiencyEquityTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>000047 - Disclosure - REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersEquityDetails4</Role>
      <ShortName>REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersDeficiencyEquityTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>000048 - Disclosure - REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersEquityDetailsNarrative</Role>
      <ShortName>REDEEMABLE CONVERTIBLE PREFERRED STOCK ESCROWED PROCEEDS AND STOCKHOLDERS EQUITY (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/RedeemableConvertiblePreferredStockEscrowedProceedsAndStockholdersDeficiencyEquityTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ptn_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>000049 - Disclosure - INCOME TAXES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ptn.com/role/IncomeTaxesDetailsNarrative</Role>
      <ShortName>INCOME TAXES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ptn.com/role/IncomeTaxes</ParentRole>
      <Position>49</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 26 fact(s) appearing in ix:hidden were eligible for transformation: ptn:EquityExpensesShares, ptn:EquityFeesShares, ptn:EquityGrossProceedsShares, ptn:EquityNetProceedsShares, ptn:TaxExpense, ptn:WarrantToPurchaseCommonStock, us-gaap:CashAndCashEquivalentsAtCarryingValue, us-gaap:CommonStockParOrStatedValuePerShare, us-gaap:CommonStockSharesAuthorized, us-gaap:CommonStockSharesIssued, us-gaap:CommonStockSharesOutstanding, us-gaap:OfficersCompensation, us-gaap:PreferredStockParOrStatedValuePerShare, us-gaap:PreferredStockSharesAuthorized, us-gaap:PreferredStockSharesIssued, us-gaap:PreferredStockSharesOutstanding, us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted, us-gaap:StockOptionPlanExpense, us-gaap:WeightedAverageNumberOfSharesRestrictedStock -  ptn_10q.htm 1</Log>
    <Log type="Warning">[DQC.US.0043.9873] The company has reported the concept NetIncomeLoss as part of the cash flow statement. This income item is being deducted from the value of operating cash flows in the calculation defined by the filer.  This implies that the resulting operating cash flow calculation excludes this income item from cash flow from operations.  If  NetIncomeLoss represents income from discontinued operations then the element NetCashProvidedByUsedInOperatingActivitiesContinuingOperations should be used as the total rather than the current total element of NetCashProvidedByUsedInOperatingActivities. If the item is an income item and is being deducted because the value is negative then consider changing the sign and weight of the element. - https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd 4602, 4668 - https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd 4602, 4668</Log>
  </Logs>
  <InputFiles>
    <File>ptn-20240331.xsd</File>
    <File>ptn-20240331_cal.xml</File>
    <File>ptn-20240331_def.xml</File>
    <File>ptn-20240331_lab.xml</File>
    <File>ptn-20240331_pre.xml</File>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="ptn_10q.htm">ptn_10q.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ptn_10qimg19.jpg</File>
    <File>ptn_10qimg20.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="441">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
