XML 54 R36.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Long-Term Debt - Additional Information (Detail) - USD ($) |  |  |  |  | 1 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 26, 2018 | Jan. 12, 2018 | Feb. 15, 2017 | Jun. 26, 2015 | Dec. 31, 2014 | Aug. 31, 2014 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 22, 2017 | Jul. 29, 2014 | Jul. 31, 2013
Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maturity date of amended and restated credit agreement |  |  |  |  |  |  | Jul. 30, 2017 |  |  |  |
Outstanding borrowings under revolving credit facility |  |  |  |  |  |  | $ 47,700,000 |  |  |  |
Weighted-average interest rate of borrowings |  |  |  |  |  |  | 5.21% |  |  |  |
Credit facility remaining borrowing capacity |  |  |  |  |  |  | $ 37,300,000 |  |  |  |
Interest swap agreements period |  |  |  |  |  |  | 2 years |  |  |  |
Settlement of interest rate swaps |  |  |  |  |  |  |  | $ 7,000 |  |  |
Additional Equipment Loan [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Credit facility remaining borrowing capacity |  |  |  |  |  | $ 1,200,000 |  |  |  |  |
Company's bank debt |  |  |  |  |  |  | $ 1,870,000 |  |  |  |
Equipment Loan, face amount |  |  |  |  |  |  |  |  |  | $ 6,000,000 |
Percentage for base rate loans at the prime rate |  |  |  |  |  | 3.40% |  |  |  |  |
Equipment Loan, monthly payment |  |  |  |  |  | $ 87,800 |  |  |  |  |
Equipment Loan, maturity date |  |  |  |  |  |  | Jul. 31, 2019 |  |  |  |
Additional equipment Loan, drawings |  |  |  |  | $ 500,000 | $ 4,800,000 |  |  |  |  |
Equipment Loan, interest rate description |  |  |  |  |  |  | Interim draws on this facility carried a floating interest rate, payable monthly at the LIBO published rate plus 2.50% and on June 26, 2015 converted into a fixed term loan, with a rate of 3.50% and requiring monthly payments |  |  |  |
Fair Value Measurements, Valuation Techniques |  |  |  |  |  |  | Discounted cash flow model |  |  |  |
Additional Equipment Loan [Member] | Significant Unobservable Inputs (Level 3) [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  | $ 3,110,000,000 | $ 6,147,000,000 |  |  |
Revolving Line of Credit and Letter of Credit Facility [Member] | Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Credit facility borrowing capacity |  |  |  |  |  |  | $ 250,000,000 |  |  |  |
Fixed Term Loan [Member] | Additional Equipment Loan [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Equipment Loan, monthly payment |  |  |  | $ 8,700 |  |  |  |  |  |  |
Equipment Loan, maturity date |  |  |  |  |  |  | Jun. 26, 2020 |  |  |  |
Equipment Loan, Interest rate on fixed loans |  |  |  |  |  |  | 3.50% |  |  |  |
2017 Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Credit facility borrowing capacity |  |  | $ 300,000,000 |  |  |  |  |  |  |  |
Maturity date of amended and restated credit agreement |  |  | Feb. 15, 2021 |  |  |  |  |  |  |  |
Credit agreement date |  |  | Feb. 15, 2017 |  |  |  |  |  |  |  |
Credit facility borrowing base |  |  |  |  |  |  |  |  | $ 85,000,000 |  |
London Interbank Offered Rate (LIBOR) [Member] | Additional Equipment Loan [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
LIBOR rate loans |  |  |  |  |  |  | 2.50% |  |  |  |
Base Rate And Libor [Member] | Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis weighted average interest rate spread on variable rate |  |  |  |  |  |  | 4.97% | 3.93% |  |  |
Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Percentage for base rate loans at the prime rate | 3.50% |  |  |  |  |  |  |  |  |  |
Equipment Loan, monthly payment | $ 7,986 |  |  |  |  |  |  |  |  |  |
Equipment Loan, maturity date | Jun. 26, 2020 |  |  |  |  |  |  |  |  |  |
Equipment Loan, principal payment amount |  | $ 20,858 |  |  |  |  |  |  |  |  |
Equipment Loan [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Company's bank debt |  |  |  |  |  |  | $ 1,267,000 |  |  |  |
Equipment Loan, face amount |  |  |  |  |  |  |  |  |  |  | $ 10,000,000
Percentage for base rate loans at the prime rate |  |  |  |  |  |  | 3.95% |  |  |  |
Equipment Loan, monthly payment |  |  |  |  |  |  | $ 184,000 |  |  |  |
Equipment Loan, maturity date |  |  |  |  |  |  | Jul. 31, 2018 |  |  |  |
Interest Rate Swap [Member] | Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Swap agreement date |  |  |  |  |  |  | 2012-07 |  |  |  |
Commenced date |  |  |  |  |  |  | 2014-01 |  |  |  |
Termination date |  |  |  |  |  |  | 2016-01 |  |  |  |
Company's bank debt |  |  |  |  |  |  | $ 75,000,000 |  |  |  |
Interest Rate Swap [Member] | London Interbank Offered Rate (LIBOR) [Member] | Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  | 0.563% |  |  |  |

X
- Definition Agreement termination month and year. + References No definition available. + Details
Name: | pnrg_AgreementTerminationMonthAndYear
Namespace Prefix: | pnrg_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commencement Of Agreement Month And Year + References No definition available. + Details
Name: | pnrg_CommencementOfAgreementMonthAndYear
Namespace Prefix: | pnrg_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Payment For Settlement Of Interest Rate Swap + References No definition available. + Details
Name: | pnrg_PaymentForSettlementOfInterestRateSwap
Namespace Prefix: | pnrg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Swap Agreement Month And Year + References No definition available. + Details
Name: | pnrg_SwapAgreementMonthAndYear
Namespace Prefix: | pnrg_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of derivative interest rate swap. + References No definition available. + Details
Name: | pnrg_TermOfDerivativeInterestRateSwap
Namespace Prefix: | pnrg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentDescriptionOfVariableRateBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=64930739&loc=d3e28878-108400 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13476-108611 + Details
Name: | us-gaap_DebtInstrumentFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The average effective interest rate during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments including both interest and principal payments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of the inputs and valuation technique(s) used to measure fair value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb) -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementsValuationTechniques
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date the credit facility terminates, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the credit facility first became available, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInitiationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average interest rate of long-term debt outstanding calculated at point in time. + References No definition available. + Details
Name: | us-gaap_LongtermDebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow from bank borrowing during the year. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromBankDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pnrg_CreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pnrg_AdditionalEquipmentLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=pnrg_RevolvingLineOfCreditAndLetterOfCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=pnrg_FixedTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=pnrg_TwoThousandSeventeenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pnrg_BaseRateAndLiborMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |