v3.21.1

Stock warrants | 12 Months Ended
--- | ---
Jan. 31, 2021
Warrants and Rights Note Disclosure [Abstract] |
Stock warrants | Stock warrants As of January 31, 2020, there were 75,137 common stock warrants outstanding. These remaining common stock warrants were issued with an exercise price of $8.02 per share. On November 6, 2020, the warrants were exercised through a net share settlement. The Company issued 60,338 shares in the net share exercise transaction. As of January 31, 2021, there are no common stock warrants outstanding.

X
- Definition Stock Warrant Liabilities + References No definition available. + Details
Name: | phr_StockWarrantLiabilitiesTextBlock
Namespace Prefix: | phr_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_WarrantsAndRightsNoteDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration