XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Note 6 - Long-term Debt (Details Textual) - USD ($) |  | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Oct. 31, 2011 | Mar. 31, 2016 | Jun. 30, 2017 | Dec. 31, 2016
Term Loan [Member] |  |  |  |  |
Long-term Debt | [1],[2],[3] |  |  | $ 4,439,000 | $ 5,030,000
Debt Instrument, Periodic Payment, Principal |  |  |  | 102,000 | 102,000
PNC Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |
Line of Credit Facility, Remaining Borrowing Capacity |  |  |  | 3,302,000 |
Line of Credit Facility Reduction |  |  |  | 2,000,000 |
Revised Loan Agreement [Member] | PNC Bank [Member] |  |  |  |  |
Debt Instrument, Termination Notice |  | 90 days |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | On or Before March 23, 2017 [Member] |  |  |  |  |
Debt Instrument Percentage of Total Finacing to be Paid Upon Early Retirement of Debt Obligations |  | 1.00% |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2017 But Prior to or on March 23, 2018 [Member] |  |  |  |  |
Debt Instrument Percentage of Total Finacing to be Paid Upon Early Retirement of Debt Obligations |  | 0.50% |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2018 But Prior to or on March 23, 2019 [Member] |  |  |  |  |
Debt Instrument Percentage of Total Finacing to be Paid Upon Early Retirement of Debt Obligations |  | 0.25% |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2019 [Member] |  |  |  |  |
Debt Instrument Percentage of Total Finacing to be Paid Upon Early Retirement of Debt Obligations |  | 0.00% |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] |  |  |  |  |
Long-term Debt |  | $ 6,100,000 |  |  |
Debt Instrument, Periodic Payment, Principal |  | 101,600 | $ 190,000 |  |
Term Loan [Member] |  |  |  |  |
Debt Issuance Costs, Net |  |  |  | $ 133,000 | $ 151,000
Amended Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | $ 12,000,000 |  |  |
Amended Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] | Prime Rate [Member] |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 2.00% |  | 4.25% |
Amended Loan Agreement [Member] | PNC Bank [Member] | Revolving Credit Facility [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 3.00% |  |  |
Amended Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | Prime Rate [Member] |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 2.50% |  |  |
Amended Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 3.50% |  |  |
Amendment 4 [Member] | PNC Bank [Member] | Term Loan [Member] |  |  |  |  |
Debt Instrument, Term |  | 7 years |  |  |
Amendment to the Revised Loan Agreement [Member] | PNC Bank [Member] |  |  |  |  |
Line of Credit Facility Reduction, Additional Reduction |  |  |  | $ 750,000 |
[1] | Net of debt issuance costs of ($133,000) and ($151,000) at June 30, 2017 and December 31, 2016, respectively.
[2] | Our revolving credit facility is collateralized by our accounts receivable and our term loan is collateralized by our property and equipment.
[3] | Prior to April 1, 2016, the monthly installment payment under the term loan was approximately $190,000.

X
- Definition Upon early retirement of debt obligations, the percentage of total financing to be paid as a fee. + References No definition available. + Details
Name: | pesi_DebtInstrumentPercentageOfTotalFinacingToBePaidUponEarlyRetirementOfDebtObligations
Namespace Prefix: | pesi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of days' prior written notice upon payment in full of outstanding obligations to terminate agreement. + References No definition available. + Details
Name: | pesi_DebtInstrumentTerminationNotice
Namespace Prefix: | pesi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the amount of line of credit facility reduction of borrowing availability. + References No definition available. + Details
Name: | pesi_LineOfCreditFacilityReduction
Namespace Prefix: | pesi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the amount of additional borrowing reduction pursuant to an amendment of the debt agreement. + References No definition available. + Details
Name: | pesi_LineOfCreditFacilityReductionAdditionalReduction
Namespace Prefix: | pesi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=pesi_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=pesi_PNCBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_RevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=pesi_OnOrBeforeMarch232017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=pesi_AfterMarch232017ButPriorToOrOnMarch232018Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=pesi_AfterMarch232018ButPriorToOrOnMarch232019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=pesi_AfterMarch232019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_AmendedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_Amendment4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pesi_AmendmentToTheRevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |