XML 65 R44.htm IDEA: XBRL DOCUMENT
v3.21.1

Summary of Significant Accounting Policies - Schedule of Credit Losses for Financing Receivables, Current (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Accounting Policies [Abstract] |  |
Allowance for doubtful accounts - beginning of year | $ 487 | $ 105
(Recovery of) provision for bad debt reserve | (101) | 386
Recovery of write-off (write-off) | 18 | (4)
Allowance for doubtful accounts - end of year | $ 404 | $ 487

X
- Definition Increase/decrease in allowance for doubtful account due to provision or recovery of bad debt reserves. + References No definition available. + Details
Name: | PESI_AllowanceForDoubtfulAccountsReceivableRecoveriesProvision
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase/decrease in allowance for doubtful account due to recovery of write off or write off. + References No definition available. + Details
Name: | PESI_AllowanceForDoubtfulAccountsReceivableRecoveriesWriteOffsOrWriteOff
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of allowance for credit loss on accounts 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(4) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121599878&loc=SL82895884-210446 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant