XML 63 R47.htm IDEA: XBRL DOCUMENT
v3.22.1

SCHEDULE OF CONTRACT ASSETS AND LIABILITIES (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Account receivables, net of allowance | $ 11,372 | $ 9,659
Unbilled receivables - current | 8,995 | 14,453
Changes in unbilled receivables - current | (5,458) | 6,469
Deferred revenue | 5,580 | $ 4,614
Year-to-date Change [Member] |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Change in account receivable, net of allowances | $ 1,713 |
Changes in account receivables, net of allowances, percentage | 17.70% |
Changes in unbilled receivables - current | $ (5,458) |
Changes in unbilled receivables - current, percentage | (37.80%) |
Changes in deferred revenue | $ 966 |
Changes in deferred revenue, percentage | 20.90% |

X
- Definition Percentage of change in unbilled receivables - current percentage. + References No definition available. + Details
Name: | PESI_ChangeInUnbilledReceivablesCurrentPercentage
Namespace Prefix: | PESI_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of change in account receivables, net of allowance. + References No definition available. + Details
Name: | PESI_ChangesInAccountReceivablesNetOfAllowancePercentage
Namespace Prefix: | PESI_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of change in deferred revenue. + References No definition available. + Details
Name: | PESI_ChangesInDeferredRevenuePercentage
Namespace Prefix: | PESI_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase decrease in unbilled receivable. + References No definition available. + Details
Name: | PESI_IncreaseDecreaseInUnbilledReceivable
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522 Reference 2: 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(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522 + Details
Name: | us-gaap_AccountsReceivableNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(5)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredRevenueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in obligation to transfer good or service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 912 -SubTopic 310 -Section 45 -Paragraph 11 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123371682&loc=d3e55415-109406 + Details
Name: | us-gaap_IncreaseDecreaseInContractWithCustomerLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount received for services rendered and products shipped, but not yet billed, for non-contractual agreements due within one year or the normal operating cycle, if longer. + References No definition available. + Details
Name: | us-gaap_UnbilledReceivablesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_AwardDateAxis=PESI_YearToDateChangesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |