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

Summary of Significant Accounting Policies and New Accounting Standards - Estimated useful life and derivative financial instruments (Detail Textuals 1) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Jun. 30, 2021 | Jul. 31, 2022
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Derivative, Notional Amount |  | $ 300,000
Interest Rate Swaps |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Derivative, Notional Amount | $ 300,000 |
Buildings and improvements |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Depreciation methods | straight-line basis |
Buildings and improvements | Minimum |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Estimated useful lives | P2Y |
Buildings and improvements | Maximum |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Estimated useful lives | P30Y |
Machinery and equipment |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Depreciation methods | straight-line basis |
Machinery and equipment | Minimum |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Estimated useful lives | P3Y |
Machinery and equipment | Maximum |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Estimated useful lives | P10Y |
Computer Software |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Depreciation methods | straight-line basis |
Computer Software | Minimum |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Estimated useful lives | P3Y |
Computer Software | Maximum |  |
Significant Accounting Policies And New Accounting Standards [Line Items] |  |
Estimated useful lives | P7Y |

X
- Definition Represents significant accounting policies and new accounting standards of the reporting entity. + References No definition available. + Details
Name: | pahc_SignificantAccountingPoliciesAndNewAccountingStandardsLineItems
Namespace Prefix: | pahc_
Data Type: | xbrli:stringItemType
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 Description of the methodology for computing depreciation for classes of depreciable assets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 + Details
Name: | us-gaap_PropertyPlantAndEquipmentDepreciationMethods
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Describes the periods of time over which an entity anticipates to receive utility from its property, plant and equipment (that is, the periods of time over which an entity allocates the initial cost of its property, plant and equipment). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 35 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=68071081&loc=d3e1205-110223 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 + Details
Name: | us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_MachineryAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_ComputerSoftwareIntangibleAssetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |