XML 98 R84.htm IDEA: XBRL DOCUMENT
v3.20.1

STOCK-BASED COMPENSATION. (Details 3) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018
Total stock-based compensation expense | $ 2,809 | $ 3,438
Employees [Member] |  |
Total stock-based compensation expense | 2,422 | 2,905
Non-Employees [Member] |  |
Total stock-based compensation expense | $ 387 | $ 533

X
- Definition Amount of noncash expense for share-based payment arrangement. + 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 (a) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis=peix_EmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis=peix_NonEmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |