XML 12 R91.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

STOCK-BASED COMPENSATION. (Details 3) - USD ($) $ in Thousands | 9 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2019 | Sep. 30, 2018 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
Total stock-based compensation expense | $ 2,103 | $ 2,579 | $ 3,438 | $ 3,828 | $ 2,616
Employees [Member] |  |  |  |  |
Total stock-based compensation expense |  |  | 2,905 | 3,303 | 2,173
Non-Employees [Member] |  |  |  |  |
Total stock-based compensation expense |  |  | $ 533 | $ 525 | $ 443

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: |