XML 20 R8.htm IDEA: XBRL DOCUMENT
v3.23.2

Statements of Cash Flows (Unaudited) (Parenthetical) - USD ($) $ in Thousands | 6 Months Ended
--- | ---
Jun. 30, 2023 | Jun. 30, 2022
Statement of Cash Flows [Abstract] |  |
Related parties accounts payable and accrued expenses | $ 264 | $ 1,102

X
- Definition Increase (decrease) in accounts payable and accrued expenses related parties. + References No definition available. + Details
Name: | phat_IncreaseDecreaseInAccountsPayableAndAccruedExpensesRelatedParties
Namespace Prefix: | phat_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_StatementOfCashFlowsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration