Annual report pursuant to Section 13 and 15(d)

10. STOCK-BASED COMPENSATION (Details-Stock based compensation expense)

v2.4.1.9
10. STOCK-BASED COMPENSATION (Details-Stock based compensation expense) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Total stock-based compensation expense $ 1,838us-gaap_ShareBasedCompensation $ 1,724us-gaap_ShareBasedCompensation $ 806us-gaap_ShareBasedCompensation
Employees [Member]      
Total stock-based compensation expense 1,493us-gaap_ShareBasedCompensation
/ us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis
= peix_EmployeesMember
1,333us-gaap_ShareBasedCompensation
/ us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis
= peix_EmployeesMember
 
Non-Employees [Member]      
Total stock-based compensation expense $ 345us-gaap_ShareBasedCompensation
/ us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis
= peix_NonEmployeesMember
$ 391us-gaap_ShareBasedCompensation
/ us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis
= peix_NonEmployeesMember