XML 213 R92.htm IDEA: XBRL DOCUMENT
v3.19.1

Subsequent Events (Details Narrative) - USD ($) |  |  |  |  |  | 12 Months Ended
--- | --- | --- | --- | --- | --- | ---
Apr. 01, 2019 | Mar. 29, 2019 | Jan. 17, 2019 | Jan. 18, 2018 | Jul. 27, 2017 | Dec. 31, 2018 | Dec. 31, 2017
Stock options granted contractual term |  |  |  |  |  |  | 6 years 7 months 6 days
Stock option exercise price per share |  |  |  |  |  | $ 3.65 |
Debt outstanding |  |  |  |  |  | $ 3,382,000 |
2017 Stock Option Plan [Member] |  |  |  |  |  |  |
Stock option shares authorized |  |  |  |  |  | 130,000 | 130,000
CFO [Member] |  |  |  |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, percentage |  |  |  | 5.00% |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, percentage |  |  |  | 100.00% |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, amount |  |  |  | $ 11,475 |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, amount |  |  |  | $ 229,494 |  |  |
EVP [Member] |  |  |  |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, percentage |  |  |  | 5.00% |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, percentage |  |  |  | 100.00% |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, amount |  |  |  | $ 11,170 |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, amount |  |  |  | $ 223,400 |  |  |
Consultant [Member] | Employee Stock Options [Member] |  |  |  |  |  |  |
Stock option granted |  |  |  |  | 100,000 |  |
Subsequent Event [Member] |  |  |  |  |  |  |
Tangible adjusted net worth requirement |  | $ 26,000,000 |  |  |  |  |
Subsequent Event [Member] | Prime Plus [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  | 2.00% |  |  |  |  |
Subsequent Event [Member] | Revised Loan Agreement [Member] |  |  |  |  |  |  |
Tangible adjusted net worth requirement |  | $ 25,000,000 |  |  |  |  |
Subsequent Event [Member] | Warrant [Member] |  |  |  |  |  |  |
Warrants to purchase share of common stock | 60,000 |  |  |  |  |  |
Warrants exercise price | $ 3.51 |  |  |  |  |  |
Warrants, maturity date | Apr. 01, 2024 |  |  |  |  |  |
Subsequent Event [Member] | Warrant [Member] | Private Placement [Member] |  |  |  |  |  |  |
Warrants to purchase share of common stock | 60,000 |  |  |  |  |  |
Subsequent Event [Member] | Common Stock [Member] |  |  |  |  |  |  |
Shares issued to lender | 75,000 |  |  |  |  |  |
Common stock closing bid price per share | $ 3.51 |  |  |  |  |  |
Common stock issued percentage | 14.90% |  |  |  |  |  |
Subsequent Event [Member] | Common Stock [Member] | Private Placement [Member] |  |  |  |  |  |  |
Shares issued to lender | 75,000 |  |  |  |  |  |
Subsequent Event [Member] | Loan and Securities Purchase Agreement, Promissory Note and Subordination Agreement [Member] |  |  |  |  |  |  |
Debt outstanding | $ 2,500,000 |  |  |  |  |  |
Debt instrument, interest rate, stated percentage | 4.00% |  |  |  |  |  |
Debt instrument periodic payment, principal | $ 208,333 |  |  |  |  |  |
Debt instrument, first required interest payment | May 01, 2019 |  |  |  |  |  |
Subsequent Event [Member] | Term Loan [Member] | Prime Plus [Member] |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  | 2.50% |  |  |  |  |
Subsequent Event [Member] | Revolving Credit and Term Loan Agreement [Member] |  |  |  |  |  |  |
Facility fee line of credit percentage |  | 0.25% |  |  |  |  |
Lender fee |  | $ 20,000 |  |  |  |  |
Subsequent Event [Member] | Revolving Credit and Term Loan Agreement [Member] | Revised Loan Agreement [Member] |  |  |  |  |  |  |
Facility fee line of credit percentage |  | 0.375% |  |  |  |  |
Subsequent Event [Member] | Revolving Credit and Term Loan Agreement [Member] | Loan Amendment [Member] |  |  |  |  |  |  |
Debt outstanding |  | $ 2,500,000 |  |  |  |  |
Subsequent Event [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 |  |  |  |  |
Subsequent Event [Member] | 2017 Stock Option Plan [Member] |  |  |  |  |  |  |
Stock option granted |  |  | 105,000 |  |  |  |
Stock options granted contractual term |  |  | 6 years |  |  |  |
Stock options granted vesting period |  |  | 5 years |  |  |  |
Stock option exercise price per share |  |  | $ 3.15 |  |  |  |
Subsequent Event [Member] | CEO [Member] |  |  |  |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, percentage |  |  | 5.00% |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, percentage |  |  | 150.00% |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, amount |  |  | $ 14,350 |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, amount |  |  | $ 430,500 |  |  |  |
Subsequent Event [Member] | CEO [Member] | 2017 Stock Option Plan [Member] |  |  |  |  |  |  |
Stock option granted |  |  | 25,000 |  |  |  |
Subsequent Event [Member] | CFO [Member] |  |  |  |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, percentage |  |  | 5.00% |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, percentage |  |  | 100.00% |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, amount |  |  | $ 11,762 |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, amount |  |  | $ 235,231 |  |  |  |
Subsequent Event [Member] | CFO [Member] | 2017 Stock Option Plan [Member] |  |  |  |  |  |  |
Stock option granted |  |  | 15,000 |  |  |  |
Subsequent Event [Member] | EVP [Member] |  |  |  |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, percentage |  |  | 5.00% |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, percentage |  |  | 100.00% |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, minimum, amount |  |  | $ 11,449 |  |  |  |
Deferred compensation arrangement with individual, cash awards granted, maximum, amount |  |  | $ 228,985 |  |  |  |
Subsequent Event [Member] | EVP [Member] | 2017 Stock Option Plan [Member] |  |  |  |  |  |  |
Stock option granted |  |  | 15,000 |  |  |  |

X
- Definition Maximum cash incentive payable under Management Incentive Plan. + References No definition available. + Details
Name: | PESI_DeferredCompensationArrangementWithIndividualCashAwardsGrantedMaximumAmount
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum cash incentive payable expressed as a percentage of the individual base salary. + References No definition available. + Details
Name: | PESI_DeferredCompensationArrangementWithIndividualCashAwardsGrantedMaximumPercentage
Namespace Prefix: | PESI_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum cash incentive payable under Management Incentive Plan. + References No definition available. + Details
Name: | PESI_DeferredCompensationArrangementWithIndividualCashAwardsGrantedMinimumAmount
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum cash incentive payable expressed as a percentage of the individual base salary. + References No definition available. + Details
Name: | PESI_DeferredCompensationArrangementWithIndividualCashAwardsGrantedMinimumPercentage
Namespace Prefix: | PESI_
Data Type: | num:percentItemType
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 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 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 Number 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)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
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=6879938&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 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 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 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 Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Net number of share options (or share units) granted during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(1) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average price at which option holders acquired shares when converting their stock options into shares. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Expected term of share-based compensation awards, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(i) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.D.2) -URI http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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 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=99377789&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_PlanNameAxis=PESI_TwoThousandSeventeenStockOptionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=us-gaap_ChiefFinancialOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=us-gaap_ExecutiveVicePresidentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=PESI_ConsultantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_PrimeRateMember
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_TypeOfArrangementAxis=PESI_RevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_WarrantMember
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_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=PESI_LoanAndSecuritiesPurchaseAgreementPromissoryNoteAndSubordinationAgreementMember
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_RevolvingCreditAndTermLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_AwardTypeAxis=PESI_SecondandThirdQuartersofTwoThousandandNineteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=us-gaap_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |