XML 61 R69.htm IDEA: XBRL DOCUMENT
v3.20.1

Long-Term Debt (Details Narrative) - USD ($) |  |  |  |  |  |  | 3 Months Ended | 6 Months Ended | 9 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jul. 02, 2019 | Jun. 20, 2019 | Apr. 02, 2019 | Mar. 29, 2019 | May 30, 2018 | Oct. 31, 2011 | Jun. 30, 2019 | Sep. 30, 2019 | Dec. 31, 2019 | Dec. 31, 2019 | Dec. 31, 2018
Long-term debt |  |  |  |  |  |  |  |  |  | $ 2,580,000 | $ 2,580,000 |
Tangible adjusted net worth requirement |  |  |  |  | $ 26,000,000 |  |  |  |  |  |  |
Debt outstanding |  |  |  |  |  |  |  |  |  | 4,220,000 | 4,220,000 |
Letters of credit outstanding, amount |  |  |  |  |  |  |  |  |  | 2,639,000 | 2,639,000 |
Prepayments in principal amount |  |  |  |  |  |  |  |  |  |  | 520,000 |
Fair value of shares issued to lender |  |  |  |  |  | $ 648,000 |  |  |  |  |  |
Debt discount and debt issuance costs |  |  |  |  |  |  |  |  |  | 340,000 | 340,000 |
Amendment to Revised Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Fixed charge coverage ratio description |  |  | Removal of the FCCR calculation requirement for the second, third and fourth quarter of 2019. Starting in the first quarter of 2020, the Company will again be required to maintain a minimum FCCR of not less than 1.15 to 1.0 for the four-quarter period ending March 31, 2020 and for each fiscal quarter thereafter; |  |  |  |  |  |  |  |  |
Release of sinking fund related to insurance policy |  |  | $ 4,000,000 |  |  |  |  |  |  |  |  |
Minimum adjusted EBITDA |  |  |  |  |  |  |  | $ 475,000 |  |  |  |
Release of indefinite reduction in borrowing availability, description |  |  | Immediate release of $450,000 of the $1,000,000 indefinite reduction in borrowing availability that PNC had previously imposed; the release of another $300,000 of the remaining $550,000 reduction in borrowing availability if the Company meets it minimum Adjusted EBITDA requirement for the quarter ending September 30, 2019 as discussed above (which our lender released in November 2019), in addition to the Company having received no less than $4,000,000 of the restricted finite risk sinking funds held as collateral by AIG under our financial assurance policy; and the release the final $250,000 reduction in borrowing availability if we meet our Adjusted EBITDA requirement for the three quarter period ending December 31, 2019 |  |  |  |  |  |  |  |  |
Release of amount from reduction in borrowing availability |  |  | $ 1,000,000 |  |  |  |  | $ 450,000 |  |  |  |
Indefinite reduction of borrowing availability |  |  | 550,000 |  |  |  |  |  |  |  |  |
Loan and Securities Purchase Agreement, Promissory Note and Subordination Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, periodic payment, principal |  |  |  | $ 208,333 |  |  |  |  |  |  |  |
Debt outstanding |  |  |  | $ 2,500,000 |  |  |  |  |  |  |  |
Debt instrument, interest rate, stated percentage |  |  |  | 4.00% |  |  |  |  |  |  |  |
Debt instrument, first required interest payment |  |  |  | May 01, 2019 |  |  |  |  |  |  |  |
Debt discount and debt issuance costs |  |  |  | $ 398,000 |  |  |  |  |  |  |  |
Common stock, minimum closing bid price per share |  |  |  | $ 3.51 |  |  |  |  |  |  |  |
Common stock issued percentage |  |  |  | 14.90% |  |  |  |  |  |  |  |
Loan and Securities Purchase Agreement, Promissory Note and Subordination Agreement [Member] | Private Placement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Warrants to purchase share of common stock |  |  |  | 60,000 |  |  |  |  |  |  |  |
Warrants exercise price |  |  |  | $ 3.51 |  |  |  |  |  |  |  |
Warrants, exercisable term |  |  |  | 6 months |  |  |  |  |  |  |  |
Warrants, maturity date |  |  |  | Apr. 01, 2024 |  |  |  |  |  |  |  |
Fair value of warrants |  |  |  | $ 93,000 |  |  |  |  |  |  |  |
Shares issued to lender |  |  |  | 75,000 |  |  |  |  |  |  |  |
Fair value of shares issued to lender |  |  |  | $ 263,000 |  |  |  |  |  |  |  |
Loan and Securities Purchase Agreement, Promissory Note and Subordination Agreement [Member] | Private Placement [Member] | Volatility Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |
Warrants, measurement input percentage |  |  |  | 50.76 |  |  |  |  |  |  |  |
Loan and Securities Purchase Agreement, Promissory Note and Subordination Agreement [Member] | Private Placement [Member] | Risk Free Interest Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |
Warrants, measurement input percentage |  |  |  | 2.31 |  |  |  |  |  |  |  |
Loan and Securities Purchase Agreement, Promissory Note and Subordination Agreement [Member] | Private Placement [Member] | Expected Term [Member] |  |  |  |  |  |  |  |  |  |  |  |
Warrants, term |  |  |  | 5 years |  |  |  |  |  |  |  |
Loan and Securities Purchase Agreement, Promissory Note and Subordination Agreement [Member] | Private Placement [Member] | Expected Dividend Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |
Warrants, measurement input percentage |  |  |  | 0.00 |  |  |  |  |  |  |  |
Scenario, Plan [Member] [Member] | Amendment to Revised Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Minimum adjusted EBITDA |  |  |  |  |  |  |  |  | $ 2,350,000 | 3,750,000 |  |
Release of amount from reduction in borrowing availability |  |  |  |  |  |  |  |  | $ 300,000 | 250,000 |  |
Term Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt outstanding | [1],[2] |  |  |  |  |  |  |  |  | 1,827,000 | $ 1,827,000 | $ 2,663,000
PNC Bank [Member] | Term Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |
Number of years used to determine monthly payment on term loan |  |  |  |  |  |  | 7 years |  |  |  |  |
PNC Bank [Member] | Term Loan [Member] | Amendment to Revised Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt maturity date |  | Mar. 24, 2021 |  |  |  |  |  |  |  |  |  |
Debt instrument, periodic payment, principal |  | $ 35,547 |  |  |  |  |  |  |  |  |  |
Revised Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Tangible adjusted net worth requirement |  |  |  |  | $ 25,000,000 |  |  |  |  |  |  |
Revised Loan Agreement [Member] | Second and Third Quarters of 2019 [Member] |  |  |  |  |  |  |  |  |  |  |  |
Fixed charge coverage ratio description |  |  |  |  | Revised the methodology to be used in calculating the FCCR in each of the second and third quarters of 2019 (with continued requirement to maintain a minimum 1.15:1 ratio in each of the quarters) |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, termination notice |  |  |  |  |  |  |  |  |  |  | 90 days |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt |  |  |  |  |  |  | $ 6,100,000 |  |  |  |  |
Debt instrument, periodic payment, principal |  |  |  |  |  |  | $ 101,600 |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | Prime Plus [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  |  |  | 2.50% |  |  |  |  |  |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  |  |  | 3.50% |  |  |  |  |  |  |
Revolving Credit and Term Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt outstanding |  |  |  | $ 2,500,000 |  |  |  |  |  |  |  |
Facility fee line of credit percentage |  |  |  |  | 0.25% |  |  |  |  |  |  |
Lender fee |  |  | $ 50,000 |  | $ 20,000 |  |  |  |  |  |  |
Revolving Credit and Term Loan Agreement [Member] | Revised Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
Facility fee line of credit percentage |  |  |  |  | 0.375% |  |  |  |  |  |  |
Revolving Credit and Term Loan Agreement [Member] | American International Group [Member] |  |  |  |  |  |  |  |  |  |  |  |
Release of sinking fund related to insurance policy |  |  |  | $ 5,000,000 |  |  |  |  |  |  |  |
Revolving Credit Facility [Member] | PNC Bank [Member] |  |  |  |  |  |  |  |  |  |  |  |
Release of indefinite reduction in borrowing availability, description |  |  |  |  |  |  |  |  |  |  | The Company meeting the "Adjusted EBITDA" minimum requirement for the fourth quarter of 2019, the Company's lender is expected to release the remaining $250,000 reduction in borrowing availability subsequent to the filing of our 2019 Form 10-K. |
Indefinite reduction of borrowing availability |  |  |  |  |  |  |  |  |  |  | $ 250,000 |
Line of credit facility, remaining borrowing capacity |  |  |  |  |  |  |  |  |  | 8,714,000 | 8,714,000 |
Letters of credit outstanding, amount |  |  |  |  |  |  |  |  |  | $ 2,639,000 | $ 2,639,000 |
Revolving Credit Facility [Member] | Revised Loan Agreement [Member] | PNC Bank [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt maturity date |  |  |  |  |  |  | Mar. 24, 2021 |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  | $ 12,000,000 |  |  |  |  |
Revolving Credit Facility [Member] | Revised Loan Agreement [Member] | PNC Bank [Member] | Prime Plus [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  |  |  | 2.00% |  |  |  |  |  | 4.75% |
Revolving Credit Facility [Member] | Revised Loan Agreement [Member] | PNC Bank [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  |  |  | 3.00% |  |  |  |  |  |  |
[1] | Net of debt issuance costs of ($92,000) and ($80,000) at December 31, 2019 and December 31, 2018, respectively.
[2] | Our revolving credit facility is collateralized by our accounts receivable and our term loan is collateralized by our property, plant, and equipment. Effective July 1, 2019, monthly installment principal payment on the Term Loan was amended to approximately $35,500 from approximately $101,600. See discussion of the amendment dated June 20, 2019 to the Company's loan agreement below.

X
- Definition Common stock minimum closing bid price per share. + References No definition available. + Details
Name: | PESI_CommonStockMinimumClosingBidPricePerShare
Namespace Prefix: | PESI_
Data Type: | num:perShareItemType
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 Fixed charge coverage ratio description. + References No definition available. + Details
Name: | PESI_FixedChargeCoverageRatioDescription
Namespace Prefix: | PESI_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indefinite reduction of borrowing availability. + References No definition available. + Details
Name: | PESI_IndefiniteReductionOfBorrowingAvailability
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Minimum adjusted earnings before interest taxes depreciation and amortization. + References No definition available. + Details
Name: | PESI_MinimumAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortization
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of years used to determine monthly payment on term loan. + References No definition available. + Details
Name: | PESI_NumberOfYearsUsedToDetermineMonthlyPaymentOnTermLoan
Namespace Prefix: | PESI_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Prepayments in principal amount. + References No definition available. + Details
Name: | PESI_PrepaymentsInPrincipalAmount
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Release of amount from reduction in borrowing availability. + References No definition available. + Details
Name: | PESI_ReleaseOfAmountFromReductionInBorrowingAvailability
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Release of indefinite reduction in borrowing availability, description. + References No definition available. + Details
Name: | PESI_ReleaseOfIndefiniteReductionInBorrowingAvailabilityDescription
Namespace Prefix: | PESI_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Partial sinking fund related to closure policy expected to be released. + References No definition available. + Details
Name: | PESI_ReleaseOfSinkingFundRelatedToInsurancePolicy
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Tangible adjusted net worth requirement. + References No definition available. + Details
Name: | PESI_TangibleAdjustedNetWorthRequirement
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Warrants and rights outstanding exercisable term. + References No definition available. + Details
Name: | PESI_WarrantsAndRightsOutstandingExercisableTerm
Namespace Prefix: | PESI_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(2)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -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 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -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 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date the debt agreement requires the first payment to be made, in CCYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentDateOfFirstRequiredPayment1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + 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.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 Amount of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section 25 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=109262497&loc=d3e20148-110875 + Details
Name: | us-gaap_FairValueAdjustmentOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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://fasb.org/us-gaap/role/ref/legacyRef -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://fasb.org/us-gaap/role/ref/legacyRef -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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -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=119400593&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -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 4: http://fasb.org/us-gaap/role/ref/legacyRef -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
- Definition Number of new stock issued during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Expiration date of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value of input used to measure outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=PESI_AmendmentToRevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=PESI_LoanAndSecuritiesPurchaseAgreementPromissoryNoteAndSubordinationAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_PrivatePlacementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputPriceVolatilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputRiskFreeInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputExpectedTermMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputExpectedDividendRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=us-gaap_ScenarioPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | dei_LegalEntityAxis=PESI_PNCBankMember
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: | srt_StatementScenarioAxis=PESI_SecondAndThirdQuartersOfTwoThousandNineteenMember
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_RevolvingCreditAndTermLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=PESI_RevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=PESI_AmericanInternationalGroupMember
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: |