XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.21.1

Statements of Operations - Additional Information (Details) - USD ($) $ in Thousands | 9 Months Ended |
--- | --- | ---
Mar. 31, 2021 | Jun. 30, 2020
Statements Of Operations Additional Information [Line Items] |  |
Deferred revenue | $ 3,815 | $ 4,570
Current deferred revenue, included in accrued expense and other current liabilities | $ 1,325 | $ 1,109
Customer |  |
Statements Of Operations Additional Information [Line Items] |  |
Average worldwide collection period for accounts receivable | 60 days |
Customer | Maximum |  |
Statements Of Operations Additional Information [Line Items] |  |
Payment term | 120 days |
Customer | Minimum |  |
Statements Of Operations Additional Information [Line Items] |  |
Payment term | 30 days |

X
- Definition Represent information related to average worldwide collection period for accounts receivable after the revenue is recognized. + References No definition available. + Details
Name: | pahc_AverageCustomerCollectionPeriod
Namespace Prefix: | pahc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represent information related customers payment term. + References No definition available. + Details
Name: | pahc_PaymentTerm
Namespace Prefix: | pahc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line item represents Statements of Operations Additional Information. + References No definition available. + Details
Name: | pahc_StatementsOfOperationsAdditionalInformationLineItems
Namespace Prefix: | pahc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121556615&loc=SL49130531-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121556615&loc=SL49130532-203044 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(5)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_MajorCustomersAxis=pahc_CustomerMember
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: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |