XML 50 R39.htm IDEA: XBRL DOCUMENT
v3.21.2

Derivatives - Additional Information (Details) - USD ($) $ in Thousands | 3 Months Ended |  |  |
--- | --- | --- | --- | ---
Sep. 30, 2021 | Jul. 31, 2022 | Mar. 31, 2020 | Jul. 31, 2017
Derivative [Line Items] |  |  |  |
Derivative, Notional Amount |  | $ 300,000 |  |
Maximum maturity period for Foreign Currency Derivatives | Feb. 28, 2023 |  |  |
Cost of Sales |  |  |  |
Derivative [Line Items] |  |  |  |
Realized gains related to matured contracts recorded as a component of inventory | $ 1,527 |  |  |
March 2020 Agreement [Member] |  |  |  |
Derivative [Line Items] |  |  |  |
Derivative, Notional Amount | $ 300,000 |  |  |
March 2020 Agreement [Member] | Interest Rate Swap |  |  |  |
Derivative [Line Items] |  |  |  |
Derivative, Notional Amount |  |  | $ 150,000 |
Percentage of interest rate | 0.62% |  |  |
July 2017 Agreement [Member] | Interest Rate Swap |  |  |  |
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: | dtr-types: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 YYYY-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=125515794&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=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

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_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
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: |