v3.23.1

Pay vs Performance Disclosure - USD ($) | 12 Months Ended
--- | ---
Jan. 31, 2023 | Jan. 31, 2022 | Jan. 31, 2021
Pay vs Performance Disclosure [Table] |  |  |
Pay vs Performance [Table Text Block] |  |
|  |  |  |  | Value of Initial Fixed $100 Investment Based On: |  |
Fiscal Year | Summary Compensation Table Total for PEO ($ in thousands)1 | Compensation Actually Paid to PEO ($ in thousands)2 | Average Summary Compensation Table Total for Non-PEO NEOs ($ in thousands)3 | Average Compensation Actually Paid to Non-PEO NEOs ($ in thousands)4 | Total Shareholder Return 5 | Peer Group Total Shareholder Return 6 | Net Income ($ in thousands)7 | Revenue ($ in millions)8
(a) | (b) | (c) | (d) | (e) | (f) | (g) | (h) | (i)
2023 | $7,604 | $12,514 | $3,664 | $5,243 | $120.94 | $126.57 | $(176,146) | $280.91
2022 | $8,921 | $(15,020) | $3,701 | $(209) | $100.61 | $150.33 | $(118,161) | $213.23
2021 | $6,405 | $35,907 | $2,819 | $7,148 | $210.61 | $123.95 | $(27,292) | $148.68
Company Selected Measure Name | revenue |  |
Named Executive Officers, Footnote [Text Block] | This column represents the amount of total compensation reported for principal executive officer ("PEO") Mr. Indig (our Chief Executive Officer) for each corresponding year in the “Total” column of the Summary Compensation Table. Please refer to the Executive Compensation Tables section of this Proxy Statement.This column represents the average of the amounts reported for the Company’s NEOs as a group (excluding Mr. Indig) in the “Total” column of the Summary Compensation Table in each applicable year. Please refer to the Executive Compensation Tables section of the Company’s Proxy Statement for the applicable year. The names of each of the NEOs (excluding Mr. Indig) included for purposes of calculating the average amounts in each applicable year are as follows: (i) for fiscal 2023, Messrs. Rasmussen, Roberts, Linetsky and Davidoff; (ii) for fiscal 2022, Messrs. Rasmussen, Altier, Roberts and Linetsky and Ms. Hoffman; and (iii) for fiscal 2021, Messrs. Altier, Roberts, Linetsky and Ms. Hoffman. |  |
Peer Group Issuers, Footnote [Text Block] | This column represents cumulative peer group TSR, weighted according to the respective companies’ stock market capitalization at the beginning of each period for which a return is indicated, and otherwise computed in accordance with Note 5. The peer group used for this purpose is the following published industry index: S&P Composite Software & Services Index. |  |
PEO Total Compensation Amount | $ 7,604,000 | $ 8,921,000 | $ 6,405,000
PEO Actually Paid Compensation Amount | $ 12,514,000 | (15,020,000) | 35,907,000
Adjustment To PEO Compensation, Footnote [Text Block] | :
Fiscal Year | Reported Summary Compensation Table Total for PEO ($ in thousands)(a) | Reported Summary Compensation Table Value of PEO Equity Awards ($ in thousands)(b) | Adjusted Value of Equity Awards ($ in thousands)(c) | Compensation Actually Paid to PEO ($ in thousands)
2023 | $7,604 | $7,089 | $11,999 | $12,514
2022 | $8,921 | $8,191 | $(15,750) | $(15,020)
2021 | $6,405 | $5,500 | $35,001 | $35,907
a.This column represents the amount of total compensation reported for Mr. Indig for each corresponding year in the “Total” column of the Summary Compensation Table. Please refer to the Executive Compensation Tables section of this Proxy Statement. b.This column represents the grant date fair value of equity awards reported in the “Stock Awards” and “Option Awards” columns in the Summary Compensation Table for the applicable year. Please refer to the Executive Compensation Tables section of the Company’s Proxy Statement. c.This column represents an adjustment to the amounts in the “Stock Awards” and “Option Awards” columns in the Summary Compensation Table for the applicable year (a “Subject Year”). For a Subject Year, the adjusted amount replaces the “Stock Awards” and “Option Awards” columns in the Summary Compensation Table for Mr. Indig to arrive at “compensation actually paid” to Mr. Indig for that Subject Year, as computed in accordance with Item 402(v) of Regulation S-K. The adjusted amount is determined by adding (or subtracting, as applicable) the following for that Subject Year from the amounts reported in the Summary Compensation Table: (i) the year-end fair value of all equity awards granted in the Subject Year that are outstanding and unvested as of the end of the Subject Year (from the end of the prior fiscal year) in fair value (whether positive or negative) of any awards granted in any prior fiscal year that are outstanding and unvested as of the end of the covered fiscal year; (ii) the amount of change as of the end of the Subject Year (from the end of the prior fiscal year) in the fair value of all awards granted in prior years that are outstanding and unvested as of the end of the Subject Year; (iii) for awards that are granted and vest in the Subject Year, the fair value as of the vesting date; (iv) for awards granted in prior years that vest at the end or during the Subject Year, the amount equal to the change as of the vesting date (from the end of the prior fiscal year) in the fair value; (v) for awards granted in prior years that are determined to fail to meet the applicable vesting conditions during the Subject Year, a deduction for the amount equal to the fair value at the end of the prior fiscal year; and (vi) the dollar value of any dividends or other earnings paid on stock or option awards in the Subject Year prior to the vesting date that are not otherwise reflected in the fair value of such award or included in any other component of total compensation for the Subject Year. The amounts added or subtracted to determine the adjusted amount are as follows:
Fiscal Year | Year End Fair Value of Equity Awards Granted in the Year ($ in thousands) | Year over Year Change in Fair Value of Outstanding and Unvested Equity Awards at FYE Granted in Prior Years ($ in thousands) | Fair Value as of Vesting Date of Equity Awards Granted and Vested in the Year ($ in thousands) | Change in Fair Value of Equity Awards Granted in Prior Years that Vested in the Year ($ in thousands) | Fair Value at the End of the Prior Year of Equity Awards that Failed to Meet Vesting Conditions in the Year ($ in thousands) | Value of Dividends or other Earnings Paid on Stock or Option Awards not Otherwise Reflected in Fair Value or Total Compensation in the Summary Compensation Table for the Year ($ in thousands) | Adjusted Value of Equity Awards ($ in thousands)
2023 | $6,637 | $3,691 | $686 | $1,072 | $— | $— | $11,999
2022 | $7,266 | $(15,645) | $— | $(7,897) | $— | $— | $(15,750)
2021 | $5,629 | $22,808 | $— | $6,564 | $— | $— | $35,001
Non-PEO NEO Average Total Compensation Amount | $ 3,664,000 | 3,701,000 | 2,819,000
Non-PEO NEO Average Compensation Actually Paid Amount | $ 5,243,000 | (209,000) | 7,148,000
Adjustment to Non-PEO NEO Compensation Footnote [Text Block] | This column represents the average amount of “compensation actually paid” to the NEOs as a group (excluding Mr. Indig), as computed in accordance with Item 402(v) of Regulation S-K. The dollar amounts do not reflect the actual average amount of compensation earned by or paid to the NEOs as a group (excluding Mr. Indig) during the applicable year. In accordance with the requirements of Item 402(v) of Regulation S-K, the following adjustments were made to average total compensation for the NEOs as a group (excluding Mr. Indig) for each year to determine the compensation actually paid, using the same adjustment methodology described above in Note 2(c):
Fiscal Year | Average Reported Summary Compensation Table Total for Non-PEO NEOs ($ in thousands)(a) | Average Reported Summary Compensation Table Value of Non-PEO NEO Equity Awards ($ in thousands)(b) | Average Non-PEO NEO Adjusted Value of Equity Awards ($ in thousands)(c) | Average Compensation Actually Paid to Non-PEO NEOs ($ in thousands)
2023 | $3,664 | $3,238 | $4,817 | $5,243
2022 | $3,701 | $3,281 | $(629) | $(209)
2021 | $2,819 | $2,319 | $6,647 | $7,148
a.This column represents the average of the amounts reported for the Company’s NEOs as a group (excluding Mr.Indig) in the “Total” column of the Summary Compensation Table in each applicable year. Please refer to the Executive Compensation Tables section of the Company’s Proxy Statement for the applicable year. b.This column represents the average of the total amounts reported for the NEOs as a group (excluding Mr. Indig) in the “Stock Awards” and “Option Awards” columns in the Summary Compensation Table in each applicable year. Please refer to the Executive Compensation Tables section of the Company’s Proxy Statement for the applicable year. c.This column represents an adjustment to the average of the amounts reported for the NEOs as a group (excluding Mr. Indig) in the “Stock Awards” and “Option Awards” columns in the Summary Compensation Table in each applicable year determined using the same methodology described above in Note 2(c). For each year, the adjusted amount replaces the “Stock Awards” and “Option Awards” columns in the Summary Compensation Table for each NEO (excluding Mr. Indig) to arrive at “compensation actually paid” to each NEO (excluding Mr. Indig) for that year, which is then averaged to determine the average “compensation actually paid” to the NEOs (excluding Mr. Indig) for that year. The amounts added or subtracted to determine the adjusted average amount are as follows:
Fiscal Year | Average Year End Fair Value of Equity Awards Granted in the Year ($ in thousands) | Average Year over Year Change in Fair Value of Outstanding and Unvested Equity Awards at FYE Granted in Prior Years ($ in thousands) | Average Fair Value as of Vesting Date of Equity Awards Granted in the Year and Vested in the Year ($ in thousands) | Average Change in Fair Value of Equity Awards Granted in Prior Years that Vested in the Year ($ in thousands) | Average Fair Value at the End of the Prior Year of Equity Awards that Failed to Meet Vesting Conditions in the Year ($ in thousands) | Average Value of Dividends or other Earnings Paid on Stock or Option Awards not Otherwise Reflected in Fair Value or Total Compensation in the Summary Compensation Table for the Year ($ in thousands) | Adjusted Average Value of Equity Awards ($ in thousands)
2023 | $3,035 | $1,463 | $318 | $29 | $— | $— | $4,817
2022 | $2,683 | $(2,980) | $— | $(537) | $— | $— | $(629)
2021 | $2,967 | $3,291 | $— | $388 | $— | $— | $6,647
Equity Valuation Assumption Difference, Footnote [Text Block] | The fair value or change in fair value, as applicable, of equity awards was determined by reference to (1) for RSU awards, the closing price of our common stock on the applicable measurement date, (2) for market-conditioned PSU awards, a Monte Carlo simulation as of the applicable measurement date. For stock options, the fair value or change in fair value, as applicable, was determined by reference to the closing price of our common stock on the applicable measurement date as the current market price. |  |
Compensation Actually Paid vs. Total Shareholder Return [Text Block] |  |  |
Total Shareholder Return Vs Peer Group [Text Block] |  |  |
Total Shareholder Return Amount | $ 120.94 | 100.61 | 210.61
Peer Group Total Shareholder Return Amount | 126.57 | 150.33 | 123.95
Net Income (Loss) | $ (176,146,000) | $ (118,161,000) | $ (27,292,000)
Company Selected Measure Amount | 280,910,000 | 213,230,000 | 148,680,000
PEO Name | Mr. Indig |  |
Additional 402(v) Disclosure [Text Block] | This column represents the amount of “compensation actually paid” to Mr. Indig, as computed in accordance with Item 402(v) of Regulation S-K. The amounts do not reflect the actual amount of compensation earned by or paid to Mr. Indig during the applicable year. In accordance with the requirements of Item 402(v) of Regulation S-K, the following adjustments were made to Mr. Indig’s total compensation for each year to determine the “compensation actually paid”.This column represents cumulative Company total TSR. TSR is calculated by dividing the sum of the cumulative amount of dividends for each measurement period (fiscal 2021, fiscal 2021-2022 and fiscal 2022-2023), assuming dividend reinvestment, and the difference between the Company’s share price at the end and the beginning of the measurement period by the Company’s share price at the beginning of the measurement period. This column represents the amount of net income reflected in the Company’s audited financial statements for the applicable year.This column represents the amount of revenue reflected in the Company’s audited financial statements for the applicable year. |  |
Measure [Axis]: 1 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Revenue |  |
Measure [Axis]: 2 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Adjusted free cash flow |  |
Measure [Axis]: 3 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | AHSCs |  |
Measure [Axis]: 4 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Healthcare services revenue per AHSC |  |
PEO [Member] | Equity Awards Reported Value [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | $ 7,089,000 | $ 8,191,000 | $ 5,500,000
PEO [Member] | Equity Award Adjustments [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 11,999,000 | (15,750,000) | 35,001,000
PEO [Member] | Equity Awards Granted During the Year [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 6,637,000 | 7,266,000 | 5,629,000
PEO [Member] | Equity Awards Granted in Prior Years [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 3,691,000 | (15,645,000) | 22,808,000
PEO [Member] | Equity Awards Granted During the Year, Vested [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 686,000 | 0 | 0
PEO [Member] | Equity Awards Granted in Prior Years, Vested [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 1,072,000 | (7,897,000) | 6,564,000
PEO [Member] | Equity Awards that Failed to Meet Vesting Conditions [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 0 | 0 | 0
PEO [Member] | Equity Awards, Value of Dividends and Other Earnings Paid Adjustment [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 0 | 0 | 0
Non-PEO NEO [Member] | Equity Awards Reported Value [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 3,238,000 | 3,281,000 | 2,319,000
Non-PEO NEO [Member] | Equity Award Adjustments [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 4,817,000 | (629,000) | 6,647,000
Non-PEO NEO [Member] | Equity Awards Granted During the Year [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 3,035,000 | 2,683,000 | 2,967,000
Non-PEO NEO [Member] | Equity Awards Granted in Prior Years [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 1,463,000 | (2,980,000) | 3,291,000
Non-PEO NEO [Member] | Equity Awards Granted During the Year, Vested [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 318,000 | 0 | 0
Non-PEO NEO [Member] | Equity Awards Granted in Prior Years, Vested [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 29,000 | (537,000) | 388,000
Non-PEO NEO [Member] | Equity Awards that Failed to Meet Vesting Conditions [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | 0 | 0 | 0
Non-PEO NEO [Member] | Equity Awards, Value of Dividends and Other Earnings Paid Adjustment [Member] |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount, Equity Awards | $ 0 | $ 0 | $ 0

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v + Details
Name: | ecd_Additional402vDisclosureTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToNonPeoNeoCompFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToPeoCompFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_CoSelectedMeasureAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_CoSelectedMeasureName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph i + Details
Name: | ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 4 + Details
Name: | ecd_EquityValuationAssumptionDifferenceFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_MeasureName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_NamedExecutiveOfficersFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iii + Details
Name: | ecd_NonPeoNeoAvgCompActuallyPaidAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph ii + Details
Name: | ecd_NonPeoNeoAvgTotalCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iv + Details
Name: | ecd_PeerGroupIssuersFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iv + Details
Name: | ecd_PeerGroupTotalShareholderRtnAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iii + Details
Name: | ecd_PeoActuallyPaidCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_PeoName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph ii + Details
Name: | ecd_PeoTotalCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 1 + Details
Name: | ecd_PvpTable
Namespace Prefix: | ecd_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 1 + Details
Name: | ecd_PvpTableTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iv + Details
Name: | ecd_TotalShareholderRtnAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph iv + Details
Name: | ecd_TotalShareholderRtnVsPeerGroupTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | phr_AdjustmentToCompensationAmountEquityAwards
Namespace Prefix: | phr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 8: 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(20)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 9 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 17: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 60B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580 Reference 25: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 11 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 11 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599 Reference 35: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ecd_MeasureAxis=1
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=2
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=3
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=4
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_ExecutiveCategoryAxis=ecd_PeoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=phr_EquityAwardsReportedValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=phr_EquityAwardAdjustmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=phr_EquityAwardsGrantedDuringTheYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=phr_EquityAwardsGrantedInPriorYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=phr_EquityAwardsGrantedDuringTheYearVestedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=phr_EquityAwardsGrantedInPriorYearsVestedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=phr_EquityAwardsThatFailedToMeetVestingConditionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=phr_EquityAwardsValueOfDividendsAndOtherEarningsPaidAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_ExecutiveCategoryAxis=ecd_NonPeoNeoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |