XML 49 R37.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Statements of Operations - Additional Information (Details) - USD ($) $ in Thousands | 6 Months Ended |
--- | --- | ---
Dec. 31, 2019 | Jun. 30, 2019
Statements Of Operations Additional Information [Line Items] |  |
Deferred revenue | $ 5,130 | $ 5,464
Current deferred revenue, included in accrued expense and other current liabilities | $ 1,082 | $ 965
Customer | Maximum |  |
Statements Of Operations Additional Information [Line Items] |  |
Payment term | 120 days |
Average worldwide collection period for accounts receivable | 70 days |
Customer | Minimum |  |
Statements Of Operations Additional Information [Line Items] |  |
Payment term | 30 days |
Average worldwide collection period for accounts receivable | 60 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=118944033&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=118944033&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=118956577&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=6877327&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: |