v3.19.1

RECENTLY ADOPTED ACCOUNTING STANDARDS IMPACTS OF ADOPTING ASC 606 AND ASU 2016-18 ON THE CONSOLIDATED STATEMENT OF CASH FLOWS (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2018 | Sep. 30, 2018 | Jun. 30, 2018 | Mar. 31, 2018 | Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net loss | $ 7,634 | $ 3,350 | $ (958) | $ 1,757 | $ (1,636) | $ (1,445) | $ (5,819) | $ (13,667) | $ 11,783 | $ (22,567) | $ (64,183)
Lower of cost or net realizable value inventory adjustments | 930 | $ 0 | $ 76 | 705 | 1,571 | $ 666 | $ 317 | 3,825 | 1,711 | 6,379 | 20,374
Changes in certain assets and liabilities |  |  |  |  |  |  |  |  |  | (9,603) | (18,776)
Net cash provided by (used in) operating activities |  |  |  |  |  |  |  |  | 64,237 | 16,693 | (14,741)
Debt prepayment costs |  |  |  |  |  |  |  | (3,001) | (402) | (3,001) | 0
Net cash used in financing activities |  |  |  |  |  |  |  | (15,760) | (15,301) | (15,760) | (19,083)
Net (decrease) increase in cash, cash equivalents and restricted cash |  |  |  |  |  |  |  |  | 32,155 | (6,921) | (1,314)
Cash, Cash Equivalents, and Restricted Cash, beginning of period |  |  |  | 1,549 |  |  |  | 8,470 | 1,549 | 8,470 | 9,784
Cash, Cash Equivalents, and Restricted Cash, end of period | $ 33,704 |  |  |  | 1,549 |  |  |  | 33,704 | 1,549 | 8,470
Previously Reported [Member] |  |  |  |  |  |  |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net loss |  |  |  |  |  |  |  |  |  | (22,910) | (66,633)
Lower of cost or net realizable value inventory adjustments |  |  |  |  |  |  |  |  |  | 7,324 |
Changes in certain assets and liabilities |  |  |  |  |  |  |  |  |  | (9,681) | (19,856)
Net cash provided by (used in) operating activities |  |  |  |  |  |  |  |  |  | 17,217 | (18,271)
Debt prepayment costs |  |  |  |  |  |  |  |  |  | 0 |
Net cash used in financing activities |  |  |  |  |  |  |  |  |  | (12,759) |
Net (decrease) increase in cash, cash equivalents and restricted cash |  |  |  |  |  |  |  |  |  | (3,396) | (4,844)
Cash, Cash Equivalents, and Restricted Cash, beginning of period |  |  |  | 1,068 |  |  |  | 4,464 | 1,068 | 4,464 | 9,308
Cash, Cash Equivalents, and Restricted Cash, end of period |  |  |  |  | 1,068 |  |  |  |  | 1,068 | 4,464
Accounting Standards Update 2014-09 [Member] | Restatement Adjustment [Member] |  |  |  |  |  |  |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net loss |  |  |  |  |  |  |  |  |  | 343 | 2,450
Lower of cost or net realizable value inventory adjustments |  |  |  |  |  |  |  |  |  | (945) |
Changes in certain assets and liabilities |  |  |  |  |  |  |  |  |  | 602 | (2,450)
Net cash provided by (used in) operating activities |  |  |  |  |  |  |  |  |  | 0 | 0
Debt prepayment costs |  |  |  |  |  |  |  |  |  | 0 |
Net cash used in financing activities |  |  |  |  |  |  |  |  |  | 0 |
Net (decrease) increase in cash, cash equivalents and restricted cash |  |  |  |  |  |  |  |  |  | 0 | 0
Cash, Cash Equivalents, and Restricted Cash, beginning of period |  |  |  | 0 |  |  |  | 0 | 0 | 0 | 0
Cash, Cash Equivalents, and Restricted Cash, end of period |  |  |  |  | 0 |  |  |  |  | 0 | 0
Accounting Standards Update 2016-15 [Member] | Restatement Adjustment [Member] |  |  |  |  |  |  |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net loss |  |  |  |  |  |  |  |  |  | 0 | 0
Lower of cost or net realizable value inventory adjustments |  |  |  |  |  |  |  |  |  | 0 |
Changes in certain assets and liabilities |  |  |  |  |  |  |  |  |  | (3,001) | 0
Net cash provided by (used in) operating activities |  |  |  |  |  |  |  |  |  | 3,001 | 0
Debt prepayment costs |  |  |  |  |  |  |  |  |  | (3,001) |
Net cash used in financing activities |  |  |  |  |  |  |  |  |  | (3,001) |
Net (decrease) increase in cash, cash equivalents and restricted cash |  |  |  |  |  |  |  |  |  | 0 | 0
Cash, Cash Equivalents, and Restricted Cash, beginning of period |  |  |  | 0 |  |  |  | 0 | 0 | 0 | 0
Cash, Cash Equivalents, and Restricted Cash, end of period |  |  |  |  | 0 |  |  |  |  | 0 | 0
Accounting Standards Update 2016-18 [Member] | Restatement Adjustment [Member] |  |  |  |  |  |  |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net loss |  |  |  |  |  |  |  |  |  | 0 | 0
Lower of cost or net realizable value inventory adjustments |  |  |  |  |  |  |  |  |  | 0 |
Changes in certain assets and liabilities |  |  |  |  |  |  |  |  |  | (3,525) | 3,530
Net cash provided by (used in) operating activities |  |  |  |  |  |  |  |  |  | (3,525) | 3,530
Debt prepayment costs |  |  |  |  |  |  |  |  |  | 0 |
Net cash used in financing activities |  |  |  |  |  |  |  |  |  | 0 |
Net (decrease) increase in cash, cash equivalents and restricted cash |  |  |  |  |  |  |  |  |  | 3,525 | 3,530
Cash, Cash Equivalents, and Restricted Cash, beginning of period |  |  |  | $ 481 |  |  |  | $ 4,006 | $ 481 | 4,006 | 476
Cash, Cash Equivalents, and Restricted Cash, end of period |  |  |  |  | $ 481 |  |  |  |  | $ 481 | $ 4,006

X
- Definition Changes In Certain Assets And Liabilities + References No definition available. + Details
Name: | ipi_ChangesInCertainAssetsAndLiabilities
Namespace Prefix: | ipi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt prepayment costs + References No definition available. + Details
Name: | ipi_DebtPrepaymentCosts
Namespace Prefix: | ipi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3521-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3044-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586 + Details
Name: | us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 230 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3521-108585 + Details
Name: | us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 35 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=68049868&loc=SL66093879-108312 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 35 -Paragraph 1C -URI http://asc.fasb.org/extlink&oid=68049868&loc=SL66093883-108312 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=66092785&loc=d3e4542-108314 + Details
Name: | us-gaap_InventoryWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3521-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInFinancingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3536-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3521-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109260490&loc=d3e1377-109256 + Details
Name: | us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | srt_RestatementAxis=srt_ScenarioPreviouslyReportedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201409Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RestatementAxis=srt_RestatementAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201615Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201618Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |