XML 71 R49.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Preferred Stock Warrants - Additional Information (Detail) | 1 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | ---
Jul. 31, 2016 IPO | Apr. 30, 2016 USD ($) shares | Aug. 31, 2014 USD ($) shares | Aug. 31, 2013 $ / shares shares | Dec. 31, 2016 USD ($) shares | Dec. 31, 2015 USD ($) shares | Dec. 31, 2014 USD ($) | May 31, 2016 shares | Mar. 31, 2016 shares
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |
Redeemable convertible preferred stock, shares issued | shares |  |  |  |  | 0 | 77,185,117 |  |  |
Proceeds from issuance of redeemable convertible preferred stock upon exercise of warrants |  |  |  |  | $ 22,488,000 | $ 17,362,000 | $ 9,000,000 |  |
Remeasured fair value of warrants |  | $ 1,000,000 |  |  |  |  |  |  |
Reclassification of redeemable convertible preferred stock warrant liability to redeemable convertible preferred stock |  |  |  |  | 1,005,000 |  |  |  |
Change in fair value of redeemable convertible preferred stock warrant liability |  |  |  |  | 525,000 | $ (543,000) | $ 872,000 |  |
Redeemable Convertible Preferred Stock Warrant Liability [Member] |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |
Reclassification of redeemable convertible preferred stock warrant liability to redeemable convertible preferred stock |  |  |  |  | $ 1,000,000 |  |  |  |
Option Pricing Model [Member] |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |
Percentage of weighted value per share |  | 67.00% |  |  |  |  |  |  |
PWERM [Member] |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |
Percentage of weighted value per share |  | 33.00% |  |  |  |  |  |  |
Fair value assumptions probabilities, number of IPO scenarios | IPO | 3 |  |  |  |  |  |  |  |
First Tranche Warrants [Member] |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |
Number of convertible preferred stock issued upon exercise of stock warrants | shares |  |  |  | 2,000,000 |  |  |  |  |
Probability of exercisability percentage |  |  |  |  |  | 95.00% |  |  |
Second Tranche Warrants [Member] |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |
Warrants issued date |  |  |  |  | Aug. 15, 2014 |  |  |  |
Probability of exercisability percentage |  |  |  |  |  | 0.00% |  |  |
Preferred Stock Warrant Liability [Member] |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |
Warrants outstanding, fair value |  |  |  |  |  | $ 480,000 |  |  |
Risk-free interest rate |  | 0.73% |  |  |  | 0.90% |  |  |
Expected life |  | 2 years |  |  |  | 1 year 7 months 6 days |  |  |
Expected volatility |  | 52.00% |  |  |  | 57.00% |  |  |
Series B Redeemable Convertible Preferred Stock [Member] |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |
Number of convertible preferred stock issued upon exercise of stock warrants | shares |  |  |  | 4,000,000 |  |  |  |  |
Warrants exercise price | $ / shares |  |  |  | $ 0.01 |  |  |  |  |
Percentage of warrants exercisable upon new product announcement |  |  |  | 50.00% |  |  |  |  |
Risk-free interest rate |  |  | 0.50% |  |  |  |  |  |
Expected life |  |  | 0 years |  |  |  |  |  |
Probability of exercisability percentage |  |  | 100.00% |  |  |  |  |  |
Redeemable convertible preferred stock, shares issued | shares |  | 1,999,998 | 18,000,000 |  |  |  |  |  |
Redeemable convertible preferred stock, warrants exercisable | shares |  |  |  |  |  |  |  |  | 2,000,000
Proceeds from issuance of redeemable convertible preferred stock upon exercise of warrants |  | $ 20,000 | $ 9,000,000 |  |  |  |  |  |
Number of redeemable convertible preferred stock expired unexercised | shares |  |  |  |  |  |  |  | 2,000,000 |

X
- Definition Class of warrant or right number of warrants or rights issued. + References No definition available. + Details
Name: | ptgx_ClassOfWarrantOrRightNumberOfWarrantsOrRightsIssued
Namespace Prefix: | ptgx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Class of warrants or rights issuance date. + References No definition available. + Details
Name: | ptgx_ClassOfWarrantsOrRightsIssuanceDate
Namespace Prefix: | ptgx_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value assumptions probabilities number of initial public offering scenario. + References No definition available. + Details
Name: | ptgx_FairValueAssumptionsProbabilitiesNumberOfInitialPublicOfferingScenario
Namespace Prefix: | ptgx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of warrants expired unexercised. + References No definition available. + Details
Name: | ptgx_NumberOfWarrantsExpiredUnexercised
Namespace Prefix: | ptgx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of warrants exercisable upon new product announcement. + References No definition available. + Details
Name: | ptgx_PercentageOfWarrantsExercisableUponNewProductAnnouncement
Namespace Prefix: | ptgx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of weighted value per share. + References No definition available. + Details
Name: | ptgx_PercentageOfWeightedValuePerShare
Namespace Prefix: | ptgx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Probability of exercisability percentage. + References No definition available. + Details
Name: | ptgx_ProbabilityOfExercisabilityPercentage
Namespace Prefix: | ptgx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Reclassification of preferred stock warrant liability to equity. + References No definition available. + Details
Name: | ptgx_ReclassificationOfPreferredStockWarrantLiabilityToEquity
Namespace Prefix: | ptgx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Remeasured fair value of warrants. + References No definition available. + Details
Name: | ptgx_RemeasuredFairValueOfWarrants
Namespace Prefix: | ptgx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
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_ClassOfWarrantOrRightLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(2)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section 25 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=6939902&loc=d3e20148-110875 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3602-108585 + Details
Name: | us-gaap_FairValueAdjustmentOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period the instrument, asset or liability is expected to be outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + 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_FairValueAssumptionsExpectedTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Measure of dispersion, in percentage terms (for instance, the standard deviation or variance), for a given stock price. + 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_FairValueAssumptionsExpectedVolatilityRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Risk-free interest rate assumption used in valuing an instrument. + 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_FairValueAssumptionsRiskFreeInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow from issuance of callable preferred stock which is identified as being convertible to another type of financial security at the option of the issuer or the holder. + 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 (a) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3255-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 + Details
Name: | us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders. Securities issued include securities outstanding and securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + 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(27)(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_TemporaryEquitySharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_WarrantsAndRightsOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByLiabilityClassAxis=ptgx_RedeemableConvertiblePreferredStockWarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=ptgx_OptionPricingModelMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=ptgx_ProbabilityWeightedExpectedReturnMethodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=ptgx_FirstTrancheWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=ptgx_SecondTrancheWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=us-gaap_WarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=ptgx_SeriesBRedeemableConvertiblePreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |