XML 59 R48.htm IDEA: XBRL DOCUMENT
v3.21.1

Derivatives - Additional Information (Details) - USD ($) $ in Thousands | 9 Months Ended |  |
--- | --- | --- | ---
Mar. 31, 2021 | Jun. 30, 2020 | Jul. 31, 2017
Derivative [Line Items] |  |  |
Maximum maturity period for Foreign Currency Derivatives | Feb. 28, 2023 |  |
Foreign Exchange Option | Accrued expenses and other current liabilities |  |  |
Derivative [Line Items] |  |  |
Fair values of total foreign currency derivatives outstanding | $ 2,018 | $ 2,477 |
Foreign Exchange Option | Other liabilities |  |  |
Derivative [Line Items] |  |  |
Fair values of total foreign currency derivatives outstanding | 261 | 1,297 |
Interest Rate Swaps | Accrued expenses and other current liabilities |  |  |
Derivative [Line Items] |  |  |
Fair values of total foreign currency derivatives outstanding | 3,307 | 3,280 |
Interest Rate Swaps | Other assets |  |  |
Derivative [Line Items] |  |  |
Fair values of total foreign currency derivatives outstanding | 2,705 |  |
Interest Rate Swaps | Other liabilities |  |  |
Derivative [Line Items] |  |  |
Fair values of total foreign currency derivatives outstanding |  | $ 6,394 |
Cost of Sales |  |  |
Derivative [Line Items] |  |  |
Realized gains related to matured contracts recorded as a component of inventory | 1,826 |  |
March 2020 Agreement [Member] |  |  |
Derivative [Line Items] |  |  |
Derivative, Notional Amount | 300,000 |  |
March 2020 Agreement [Member] | Interest Rate Swaps |  |  |
Derivative [Line Items] |  |  |
Derivative, Notional Amount | $ 150,000 |  |
Percentage of interest rate | 0.62% |  |
July 2017 Agreement [Member] | Interest Rate Swaps |  |  |
Derivative [Line Items] |  |  |
Derivative, Notional Amount | $ 150,000 |  | $ 150,000
Percentage of interest rate |  |  | 1.8325%

X
- Definition This is the amount of gain (loss) on matured contracts, that we record to Inventory. + References No definition available. + Details
Name: | pahc_RealizedGainLossOnMaturedContractsRecordedAsInventory
Namespace Prefix: | pahc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fixed interest rate related to the interest rate derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the derivative contract matures, in CCYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_DerivativeMaturityDates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value as of the balance sheet date of all foreign currency derivatives designated as cash flow hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(b),(c)(1) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5624163-113959 + Details
Name: | us-gaap_ForeignCurrencyCashFlowHedgeDerivativeAtFairValueNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=pahc_AccruedAndOtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=pahc_March2020AgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=pahc_July2017AgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |