XML 75 R57.htm IDEA: XBRL DOCUMENT
v3.20.1

Capital Stock, Stock Plans, Warrants, and Stock Based Compensation (Details Narrative) |  |  |  |  |  |  |  | 3 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Aug. 29, 2019 $ / shares shares | Jul. 25, 2019 $ / shares shares | Apr. 02, 2019 USD ($) $ / shares shares | Jan. 17, 2019 $ / shares shares | Jul. 26, 2018 $ / shares shares | May 01, 2018 USD ($) shares | Jan. 18, 2018 $ / shares shares | Dec. 31, 2019 USD ($) Integer $ / shares shares | Dec. 31, 2019 USD ($) Integer $ / shares shares | Dec. 31, 2018 USD ($) shares | Jan. 27, 2019 Integer shares | May 30, 2018 $ / shares | Jan. 27, 2018 Integer shares
Common stock exercise price per share | $ / shares |  |  |  |  |  |  |  |  |  |  |  | $ 4.80 |
Option granted to purchase shares |  |  |  |  |  |  |  |  | 129,500 |  |  |  |
Proceeds from exercise of stock options | $ |  |  |  |  |  |  |  |  | $ 133,000 | $ 36,000 |  |  |
Unrecognized compensation cost related to unvested options | $ |  |  |  |  |  |  |  | $ 431,000 | $ 431,000 |  |  |  |
Weighted average term for unrecognized and unvested option to be recognized |  |  |  |  |  |  |  |  | 2 years 1 month 6 days |  |  |  |
Stock option term, description |  |  |  |  |  |  |  |  | The term of the Ferguson Stock Option is seven (7) years from the grant date. |  |  |  |
Number of options exercised |  |  |  |  |  |  |  |  | 10,000 |  |  |  |
Allocated share-based compensation expense | $ |  |  |  |  |  |  |  |  | $ 179,000 | $ 198,000 |  |  |
Number of common shares reserved for future issuance |  |  |  |  |  |  |  | 681,300 | 681,300 |  |  |  |
Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Number of options exercised |  |  |  |  |  |  |  |  | 32,400 | 10,000 |  |  |
Stock issued during period for services, shares |  |  |  |  |  |  |  |  | 71,905 | 60,598 |  |  |
Robert Ferguson [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from exercise of stock options | $ |  |  |  |  |  | $ 36,500 |  |  |  |  |  |  |
Unrecognized compensation cost related to unvested options | $ |  |  |  |  |  |  |  | $ 123,000 | $ 123,000 |  |  |  |
Stock option shall become exercisable upon attainment of performance milestone |  |  |  |  |  |  |  |  |  |  | 30,000 |  | 10,000
Number of gallons | Integer |  |  |  |  |  |  |  |  |  |  | 2,000 |  | 3
Number of options exercised |  |  |  |  |  | 10,000 |  |  |  |  |  |  |
Shares purchased from exercise of stock options |  |  |  |  |  | 10,000 |  |  |  |  |  |  |
Loans payable | $ |  |  | $ 2,500,000 |  |  |  |  |  |  |  |  |  |
Warrant to purchase |  |  | 60,000 |  |  |  |  |  |  |  |  |  |
Warrants exercise price | $ / shares |  |  | $ 3.51 |  |  |  |  |  |  |  |  |  |
Warrant exercisable, description |  |  | The Warrant is exercisable six months from April 1, 2019 and expires on April 1, 2024 and remains outstanding at December 31, 2019. |  |  |  |  |  |  |  |  |  |
Incentive Stock Options [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock options granted vesting period |  |  |  | 5 years |  |  |  |  |  |  |  |  |
Option granted to purchase shares |  |  |  | 105,000 |  |  |  |  |  |  |  |  |
Stock options, grants in period, exercise price | $ / shares |  |  |  | $ 3.15 |  |  |  |  |  |  |  |  |
Stock options granted contractual term |  |  |  | 6 years |  |  |  |  |  |  |  |  |
Incentive Stock Options [Member] | CEO [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Option granted to purchase shares |  |  |  | 25,000 |  |  |  |  |  |  |  |  |
Incentive Stock Options [Member] | CFO [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Option granted to purchase shares |  |  |  | 15,000 |  |  |  |  |  |  |  |  |
Incentive Stock Options [Member] | EVP [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Option granted to purchase shares |  |  |  | 15,000 |  |  |  |  |  |  |  |  |
January 27, 2021 [Member] | Robert Ferguson [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock option shall become exercisable upon attainment of performance milestone |  |  |  |  |  |  |  | 60,000 | 60,000 |  |  |  |
Number of gallons | Integer |  |  |  |  |  |  |  | 50,000 | 50,000 |  |  |  |
2003 Outside Directors Stock Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock options granted vesting period |  |  |  |  |  |  |  |  | 180 days |  |  |  |
Stock options, expiration period |  |  |  |  |  |  |  |  | 10 years |  |  |  |
Share-based compensation arrangement by share-based payment award percentage of stock in lieu of fee payable |  |  |  |  |  |  |  |  | 65.00% |  |  |  |
Percentage of directors fees, description |  |  |  |  |  |  |  |  | The 2003 Plan also provides for the issuance to each outside director a number of shares of the Company's Common Stock in lieu of 65% or 100% (based on option elected by each director) of the fee payable to the eligible director for services rendered as a member of the Board of Directors ("Board"). The number of shares issued is determined at 75% of the market value as defined in the plan (the Company recognizes 100% of the market value of the shares issued). |  |  |  |
Shares remaining available for issuance |  |  |  |  |  |  |  | 262,312 | 262,312 |  |  |  |
2003 Outside Directors Stock Plan [Member] | Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares available for issuance |  |  |  |  |  |  |  | 1,100,000 | 1,100,000 |  |  |  |
2003 Outside Directors Stock Plan [Member] | Re-election [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Options granted to purchase shares |  |  |  |  |  |  |  | 2,400 | 2,400 |  |  |  |
2003 Outside Directors Stock Plan [Member] | Maximum [Member] | Election [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Options granted to purchase shares |  |  |  |  |  |  |  | 6,000 | 6,000 |  |  |  |
2010 Stock Option Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock options, expiration period |  |  |  |  |  |  |  |  | 10 years |  |  |  |
Fair market value of shares, granted description |  |  |  |  |  |  |  |  | The term of each stock option granted was to be fixed by the Compensation and Stock Option Committee (the "Compensation Committee"), but no stock option was exercisable more than ten years after the grant date, or in the case of an incentive stock option granted to a 10% stockholder, five years after the grant date. |  |  |  |
Percentage held by stockholder |  |  |  |  |  |  |  |  | 10.00% |  |  |  |
Shares remaining available for issuance |  |  |  |  |  |  |  | 140,000 | 140,000 |  |  |  |
2010 Stock Option Plan [Member] | Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock exercise price per share | $ / shares |  |  |  |  |  |  |  | $ 3.97 | $ 3.97 |  |  |  |
Stock options, expiration date |  |  |  |  |  |  |  |  | May 15, 2022 |  |  |  |
Option granted to purchase shares |  |  |  |  |  |  |  |  | 50,000 |  |  |  |
2010 Stock Option Plan [Member] | Ten Percent of Stockholder [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, options, exercisable, weighted average remaining contractual term |  |  |  |  |  |  |  |  | 5 years |  |  |  |
2010 Stock Option Plan [Member] | Officers and Employees [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares available for issuance |  |  |  |  |  |  |  | 200,000 | 200,000 |  |  |  |
2010 Stock Option Plan [Member] | Maximum [Member] | Officers and Employees [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Options granted to purchase shares |  |  |  |  |  |  |  | 200,000 | 200,000 |  |  |  |
2017 Stock Option Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, options, exercisable, weighted average remaining contractual term |  |  |  |  |  |  |  |  | 10 years |  |  |  |
Fair market value of shares, granted description |  |  |  |  |  |  |  |  | The term of each stock option granted under the 2017 Plan shall be fixed by the Compensation Committee, but no stock options will be exercisable more than ten years after the grant date, or in the case of an ISO granted to a 10% stockholder, five years after the grant date. The exercise price of any ISO granted under the 2017 Plan to an individual who is not a 10% stockholder at the time of the grant shall not be less than the fair market value of the shares at the time of the grant, and the exercise price of any ISO granted to a 10% stockholder shall not be less than 110% of the fair market value at the time of grant. |  |  |  |
Percentage held by stockholder |  |  |  |  |  |  |  |  | 10.00% |  |  |  |
Exercise price of option granted, percentage of fair market value |  |  |  |  |  |  |  |  | 110.00% |  |  |  |
Shares remaining available for issuance |  |  |  |  |  |  |  | 27,500 | 27,500 |  |  |  |
2017 Stock Option Plan [Member] | Ten Percent of Stockholder [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, options, exercisable, weighted average remaining contractual term |  |  |  |  |  |  |  |  | 5 years |  |  |  |
2017 Stock Option Plan [Member] | Robert Ferguson [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock exercise price per share | $ / shares |  |  |  |  |  |  |  | $ 3.65 | $ 3.65 |  |  |  |
2017 Stock Option Plan [Member] | Non-qualified Stock Options and Incentive Stock Options [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares available for issuance |  |  |  |  |  |  |  | 540,000 | 540,000 |  |  |  |
2017 Stock Option Plan [Member] | Maximum [Member] | Robert Ferguson [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Option granted to purchase shares |  |  |  |  |  |  |  |  | 100,000 |  |  |  |
2003 Outside Directors Stock Plan [Member] | Employee [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Shares granted from option exercise |  |  |  |  |  |  |  | 18,000 |  |  |  |  |
Proceeds from exercise of stock options | $ |  |  |  |  |  |  |  | $ 79,000 |  |  |  |  |
2003 Outside Directors Stock Plan [Member] | Two Previous Retired Outside Directors [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Shares granted from option exercise |  |  |  |  |  |  |  | 14,400 |  |  |  |  |
Proceeds from exercise of stock options | $ |  |  |  |  |  |  |  | $ 54,000 |  |  |  |  |
2003 Outside Directors Stock Plan [Member] | Non-qualified Stock Options [Member] | Five of Six Re-Elected Directors [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock options granted vesting period |  | 180 days |  |  |  |  |  |  |  |  |  |  |
Option granted to purchase shares |  | 12,000 |  |  |  |  |  |  |  |  |  |  |
Stock options, grants in period, exercise price | $ / shares |  | $ 3.31 |  |  |  |  |  |  |  |  |  |  |
Stock options granted contractual term |  | 10 years |  |  |  |  |  |  |  |  |  |  |
2003 Outside Directors Stock Plan [Member] | Non-qualified Stock Options [Member] | New Director [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock options granted vesting period |  |  |  |  |  |  | 180 days |  |  |  |  |  |
Option granted to purchase shares |  |  |  |  |  |  | 6,000 |  |  |  |  |  |
Stock options, grants in period, exercise price | $ / shares |  |  |  |  |  |  | $ 4.05 |  |  |  |  |  |
Stock options granted contractual term |  |  |  |  |  |  | 10 years |  |  |  |  |  |
2003 Outside Directors Stock Plan [Member] | Non-qualified Stock Options [Member] | Six Re-elected Directors [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock options granted vesting period |  |  |  |  | 180 days |  |  |  |  |  |  |  |
Option granted to purchase shares |  |  |  |  | 12,000 |  |  |  |  |  |  |  |
Stock options, grants in period, exercise price | $ / shares |  |  |  |  | $ 4.30 |  |  |  |  |  |  |  |
Stock options granted contractual term |  |  |  |  | 10 years |  |  |  |  |  |  |  |
2017 Plan [Member] | Incentive Stock Options [Member] | Employee [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock options granted vesting period | 5 years |  |  |  |  |  |  |  |  |  |  |  |
Option granted to purchase shares | 12,500 |  |  |  |  |  |  |  |  |  |  |  |
Stock options, grants in period, exercise price | $ / shares | $ 3.90 |  |  |  |  |  |  |  |  |  |  |  |
Stock options granted contractual term | 6 years |  |  |  |  |  |  |  |  |  |  |  |
2003 Outside Directors Stock Option Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of directors fees, description |  |  |  |  |  |  |  |  | As a member of the Board, each director elects to receive either 65% or 100% of the director's fee in shares of our Common Stock. The number of shares received is calculated based on 75% of the fair market value of our Common Stock determined on the business day immediately preceding the date that the quarterly fee is due. |  |  |  |
Stock issued during period for services, shares |  |  |  |  |  |  |  |  | 71,905 |  |  |  |
2003 Outside Directors Stock Option Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Stock issued during period for services, shares |  |  |  |  |  |  |  |  |  | 60,598 |  |  |
The 2003 Outside Directors Stock Plan [Member] | Portion of Director Fee Earned in Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Allocated share-based compensation expense | $ |  |  |  |  |  |  |  |  | $ 232,000 | $ 249,000 |  |  |

X
- Definition Exercise price as represented by percentage of fair market value of stock. + References No definition available. + Details
Name: | PESI_ExercisePriceOfOptionGrantedPercentageOfFairMarketValue
Namespace Prefix: | PESI_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair market value of shares, granted description. + References No definition available. + Details
Name: | PESI_FairMarketValueOfSharesGrantedDescription
Namespace Prefix: | PESI_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of gallons. + References No definition available. + Details
Name: | PESI_NumberOfGallons
Namespace Prefix: | PESI_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Options granted to purchase shares. + References No definition available. + Details
Name: | PESI_OptionsGrantedToPurchaseShares
Namespace Prefix: | PESI_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage held by stockholder. + References No definition available. + Details
Name: | PESI_PercentageHeldByStockholder
Namespace Prefix: | PESI_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of directors fees, description. + References No definition available. + Details
Name: | PESI_PercentageOfDirectorsFeesDescription
Namespace Prefix: | PESI_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the percentage of shares issued in lieu of fee payable. + References No definition available. + Details
Name: | PESI_SharebaseCompensationArrangementBySharebasedPaymentAwardPercentageOfStockInLieuOfFeePayable
Namespace Prefix: | PESI_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Common shares issued from option exercise net share option granted. + References No definition available. + Details
Name: | PESI_SharesGrantedFromOptionExercise
Namespace Prefix: | PESI_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock option shall become exercisable upon attainment of performance milestone. + References No definition available. + Details
Name: | PESI_StockOptionShallBecomeExercisableUponAttainmentOfPerformanceMilestone
Namespace Prefix: | PESI_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Stock option term, description. + References No definition available. + Details
Name: | PESI_StockOptionTermDescription
Namespace Prefix: | PESI_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Warrant exercisable, description. + References No definition available. + Details
Name: | PESI_WarrantExercisableDescription
Namespace Prefix: | PESI_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average term for unrecognized and unvested option to be recognized. + References No definition available. + Details
Name: | PESI_WeightedAverageTermForUnrecognizedAndUnvestedOptionToBeRecognized
Namespace Prefix: | PESI_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-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.F) -URI http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
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 Aggregate number of common shares reserved for future issuance. + 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 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + 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 (i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Including the current and noncurrent portions, aggregate carrying value as of the balance sheet date of loans payable (with maturities initially due after one year or beyond the operating cycle if longer). + References Reference 1: 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 2: 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 3: 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)(a)(2)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 + Details
Name: | us-gaap_LoansPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash inflow from exercise of option under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=116856206&loc=SL79508275-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + 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=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the equity-based award expires, in CCYY-MM-DD format. + 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)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + 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=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + 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 -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Gross number of share options (or share units) granted during the period. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, 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)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents 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=116856206&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 Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, 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 -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders. + References No definition available. + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesIssuedForServices
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number, after forfeiture, of shares or units issued under share-based payment arrangement. Excludes shares or units issued under employee stock ownership plan (ESOP). + References Reference 1: 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 2: 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 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(28)) -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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of share options (or share units) exercised during the current 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)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 Reference 2: 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 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(28)) -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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: 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 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=PESI_RobertFergusonMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ChiefFinancialOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ExecutiveVicePresidentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | srt_StatementScenarioAxis=PESI_ReelectionMember
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_StatementScenarioAxis=PESI_ElectionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_TitleOfIndividualAxis=PESI_TenPercentOfStockholderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=PESI_OfficersAndEmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | srt_TitleOfIndividualAxis=PESI_EmployeeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=PESI_TwoPreviousRetiredOutsideDirectorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_TitleOfIndividualAxis=PESI_FiveOfSixReElectedDirectorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=PESI_NewDirectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=PESI_SixReelectedDirectorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

X
- Details
Name: | us-gaap_NatureOfExpenseAxis=PESI_PortionOfDirectorFeeEarnedInCommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |