XML 22 R55.htm IDEA: XBRL DOCUMENT v2.4.1.9
Stockholders' Equity (Details) (USD $)
0 Months Ended 12 Months Ended 0 Months Ended
Dec. 12, 2014
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Feb. 28, 2013
Mar. 18, 2012
Apr. 17, 2014
Jan. 26, 2012
Feb. 27, 2014
May 12, 2014
Nov. 07, 2014
Dec. 10, 2014
Aug. 31, 2013
Aug. 18, 2012
Dec. 13, 2011
Employee
Preferred Stock [Abstract]                              
Preferred Stock, par value (in dollars per share)   $ 0.01us-gaap_PreferredStockParOrStatedValuePerShare $ 0.01us-gaap_PreferredStockParOrStatedValuePerShare                        
Preferred Stock, authorized (in shares)   5,000,000us-gaap_PreferredStockSharesAuthorized 5,000,000us-gaap_PreferredStockSharesAuthorized                        
Preferred Stock, outstanding (in shares)   0us-gaap_PreferredStockSharesOutstanding 0us-gaap_PreferredStockSharesOutstanding                        
Preferred Stock, issued (in shares)   0us-gaap_PreferredStockSharesIssued 0us-gaap_PreferredStockSharesIssued                        
Common Stock [Abstract]                              
Common stock shares sold (in shares)   645,000us-gaap_StockIssuedDuringPeriodSharesNewIssues   3,023,432us-gaap_StockIssuedDuringPeriodSharesNewIssues                      
Common stock offering price (in dollars per share)   $ 2.19us-gaap_SaleOfStockPricePerShare   $ 13.23us-gaap_SaleOfStockPricePerShare                      
Proceeds from issuance of common stock, net   $ 1,413,000us-gaap_ProceedsFromIssuanceOfCommonStock $ 0us-gaap_ProceedsFromIssuanceOfCommonStock $ 37,514,000us-gaap_ProceedsFromIssuanceOfCommonStock                      
Stock repurchased during period (in shares)       16,056us-gaap_StockRepurchasedDuringPeriodShares                      
Stock repurchased average price (in dollars per share)   $ 13.98phmd_StockRepurchasedAverageCostPerShare                          
Stock repurchased during period   41,757,000us-gaap_StockRepurchasedDuringPeriodValue                          
Common Stock, issued (in shares)   20,376,245us-gaap_CommonStockSharesIssued 18,903,245us-gaap_CommonStockSharesIssued                        
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Share price (in dollars per share)   $ 1.37us-gaap_SharePrice                          
Total stock-based compensation expense   4,936,000us-gaap_AllocatedShareBasedCompensationExpense 4,985,000us-gaap_AllocatedShareBasedCompensationExpense 6,197,000us-gaap_AllocatedShareBasedCompensationExpense                      
Unrecognized compensation cost related to non-vested stock awards   7,644,000us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized                          
Unrecognized compensation cost expected to recognized   3 years 1 month 20 days                          
Common Stock Warrants [Abstract]                              
Warrants issued (in shares)   0.305836phmd_RatioOfClassOfWarrantIssuedForEachShare                          
Warrants (in shares)   1,026,435us-gaap_ClassOfWarrantOrRightOutstanding                          
Increase in Warrants Price (in dollars per share) $ 0.50phmd_IncreaseInWarrantsPrice                            
Warrant exercise price (in dollars per share) $ 2.25us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 $ 20us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1                          
Warrants expiration date, start date Dec. 12, 2015                            
Warrants expiration date, end date Dec. 12, 2017                            
Warrant exercise period   5 years                          
Minimum closing trading price (in dollars per share)   $ 30phmd_MinimumClosingTradingPrice                          
Consecutive trading days   20 days                          
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]                              
Outstanding Number of Shares (in shares)   1,159,554us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions                          
Weighted Average Remaining Contractual Life (years)   7 years 6 months 14 days                          
Weighted Average Exercise Price (in dollars per share)   $ 16.23us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1                          
Exercisable Number of Shares (in shares)   510,954us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions                          
Exercisable Weighted Avg. Exercise Price (in dollars per share)   $ 16.47us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1                          
$0 - $7.50 [Member]                              
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]                              
Options Range of Exercise Prices, lower limit (in dollars per share)   $ 0us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeOneMember
                         
Options Range of Exercise Prices, upper limit (in dollars per share)   $ 7.50us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeOneMember
                         
Outstanding Number of Shares (in shares)   21,584us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeOneMember
                         
Weighted Average Remaining Contractual Life (years)   4 years 6 months 29 days                          
Weighted Average Exercise Price (in dollars per share)   $ 6.12us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeOneMember
                         
Exercisable Number of Shares (in shares)   21,584us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeOneMember
                         
Exercisable Weighted Avg. Exercise Price (in dollars per share)   $ 6.11us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeOneMember
                         
$7.51 - $15.00 [Member]                              
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]                              
Options Range of Exercise Prices, lower limit (in dollars per share)   $ 7.51us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeTwoMember
                         
Options Range of Exercise Prices, upper limit (in dollars per share)   $ 15.00us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeTwoMember
                         
Outstanding Number of Shares (in shares)   699,622us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeTwoMember
                         
Weighted Average Remaining Contractual Life (years)   7 years 10 months 6 days                          
Weighted Average Exercise Price (in dollars per share)   $ 14.11us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeTwoMember
                         
Exercisable Number of Shares (in shares)   255,022us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeTwoMember
                         
Exercisable Weighted Avg. Exercise Price (in dollars per share)   $ 13.93us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeTwoMember
                         
$15.01 - $22.50 [Member]                              
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]                              
Options Range of Exercise Prices, lower limit (in dollars per share)   $ 15.01us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeThreeMember
                         
Options Range of Exercise Prices, upper limit (in dollars per share)   $ 22.50us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeThreeMember
                         
Outstanding Number of Shares (in shares)   427,900us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeThreeMember
                         
Weighted Average Remaining Contractual Life (years)   7 years 3 months 25 days                          
Weighted Average Exercise Price (in dollars per share)   $ 19.02us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeThreeMember
                         
Exercisable Number of Shares (in shares)   223,900us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeThreeMember
                         
Exercisable Weighted Avg. Exercise Price (in dollars per share)   $ 18.13us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeThreeMember
                         
$22.51 [Member]                              
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]                              
Options Range of Exercise Prices, lower limit (in dollars per share)   $ 22.51us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeFiveMember
                         
Outstanding Number of Shares (in shares)   10,448us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeFiveMember
                         
Weighted Average Remaining Contractual Life (years)   1 year 6 months 22 days                          
Weighted Average Exercise Price (in dollars per share)   $ 64.42us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeFiveMember
                         
Exercisable Number of Shares (in shares)   10,448us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeFiveMember
                         
Exercisable Weighted Avg. Exercise Price (in dollars per share)   $ 64.42us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1
/ us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis
= phmd_ExercisePriceRangeFiveMember
                         
Board of Directors [Member]                              
Common Stock [Abstract]                              
Stock repurchase program, authorized amount                         30,000,000us-gaap_StockRepurchaseProgramAuthorizedAmount1
/ us-gaap_TitleOfIndividualAxis
= phmd_BoardOfDirectorsMember
25,000,000us-gaap_StockRepurchaseProgramAuthorizedAmount1
/ us-gaap_TitleOfIndividualAxis
= phmd_BoardOfDirectorsMember
 
Stock repurchased during period (in shares)   2,987,413us-gaap_StockRepurchasedDuringPeriodShares
/ us-gaap_TitleOfIndividualAxis
= phmd_BoardOfDirectorsMember
                         
Employees and Consultants [Member]                              
Common Stock Options [Abstract]                              
Award vesting period         5 years 5 years                  
Stock options expiration period         10 years 10 years                  
Number of Stock Options [Roll Forward]                              
Granted (in shares)         177,125us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
509,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
                 
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Strike price options         $ 15us-gaap_OptionIndexedToIssuersEquityStrikePrice1
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
$ 14us-gaap_OptionIndexedToIssuersEquityStrikePrice1
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
                 
Non-employee Director Stock Option Plan [Member]                              
Common Stock [Abstract]                              
Common Stock, issued (in shares)             5,000us-gaap_CommonStockSharesIssued
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
30,000us-gaap_CommonStockSharesIssued
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
             
Number of executive employees               6phmd_NumberOfExecutiveEmployees
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
             
Common Stock Options [Abstract]                              
Authorized shares (in shares)   370,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
                         
Stock reserved for issuance to eligible employees (in shares)   7,000us-gaap_SharesHeldInEmployeeStockOptionPlanAllocated
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
                         
Shares reserved for future issuance under stock option (in shares)   14,578phmd_CompensationArrangementWithIndividualCommonStockReservedForFutureIssuanceUnderOutstandingOption
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
                         
One time stock issuance after reverse merger (in shares)   5,000phmd_OneTimeStockIssuanceAfterReverseMerger
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
                         
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Aggregate fair value             75,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
405,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_PlanNameAxis
= phmd_NonEmployeeDirectorStockOptionPlanMember
             
2005 Equity Plan [Member]                              
Common Stock Options [Abstract]                              
Authorized shares (in shares)   6,000,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
/ us-gaap_PlanNameAxis
= phmd_EquityPlan2005Member
                         
Shares reserved for future issuance under stock option (in shares)   1,144,976phmd_CompensationArrangementWithIndividualCommonStockReservedForFutureIssuanceUnderOutstandingOption
/ us-gaap_PlanNameAxis
= phmd_EquityPlan2005Member
                         
Shares reserved for future issuance under common stock (in shares)   1,576,095phmd_CompensationArrangementWithIndividualCommonStockReservedForFutureIssuanceAsCommonStock
/ us-gaap_PlanNameAxis
= phmd_EquityPlan2005Member
                         
Non-qualified [Member] | Executives Employees [Member]                              
Common Stock [Abstract]                              
Number of executive employees           2phmd_NumberOfExecutiveEmployees
/ us-gaap_PlanNameAxis
= phmd_NonQualifiedMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
                2phmd_NumberOfExecutiveEmployees
/ us-gaap_PlanNameAxis
= phmd_NonQualifiedMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
Common Stock Options [Abstract]                              
Award vesting period         5 years 5 years                  
Stock options expiration period         10 years 10 years                  
Number of Stock Options [Roll Forward]                              
Granted (in shares)         82,500us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_PlanNameAxis
= phmd_NonQualifiedMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
230,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_PlanNameAxis
= phmd_NonQualifiedMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
                 
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Aggregate fair value         2,590,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_PlanNameAxis
= phmd_NonQualifiedMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
6,652,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_PlanNameAxis
= phmd_NonQualifiedMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
                 
Strike price options         $ 20us-gaap_OptionIndexedToIssuersEquityStrikePrice1
/ us-gaap_PlanNameAxis
= phmd_NonQualifiedMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
$ 20us-gaap_OptionIndexedToIssuersEquityStrikePrice1
/ us-gaap_PlanNameAxis
= phmd_NonQualifiedMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
                 
Stock Options [Member]                              
Number of Stock Options [Roll Forward]                              
Outstanding, beginning of the period (in shares)   1,132,678us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
898,541us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
180,718us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Granted (in shares)   181,500us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
259,625us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
739,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Exercised (in shares)   0us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
(3,750)us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
(10,048)us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Expired/cancelled (in shares)   (154,624)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
(21,738)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
(11,129)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Outstanding, ending of the period (in shares)   1,159,554us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
1,132,678us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
898,541us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Outstanding and Exercisable, at ending period (in shares)   510,954us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
Weighted Average Exercise Price [Roll Forward]                              
Outstanding, beginning period (in dollars per share)   $ 16.51us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 16.65us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 19.54us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Granted (in dollars per share)   $ 14.10us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 16.59us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 15.87us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Exercised (in dollars per share)   $ 0us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 6.24us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 6.67us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Expired/cancelled (in dollars per share)   $ 15.73us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 31.36us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 20.25us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Outstanding, ending period (in dollars per share)   $ 16.23us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 16.51us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
$ 16.65us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                     
Outstanding and Exercisable, ending period (in dollars per share)   $ 16.47us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
Number of Shares [Abstract]                              
2015 (in shares)   2,499phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationInNextTwelveMonths
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
2016 (in shares)   2,634phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationInTwoYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
2017 (in shares)   3,146phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationInThreeYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
2018 (in shares)   2,169phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationInFourYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
2019 and later (in shares)   1,149,106phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationInFiveYearsAndThereafter
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
Number of Shares (in shares)   1,159,554phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpiration
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
Weighted Average Exercise Price [Abstract]                              
2015 (in dollars per share)   $ 102.90phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWeightedAverageExercisePriceOptionsExpirationInNextTwelveMonths
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
2016 (in dollars per share)   $ 69.48phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWeightedAverageExercisePriceOptionsExpirationInTwoYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
2017 (in dollars per share)   $ 46.85phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWeightedAverageExercisePriceOptionsExpirationInThreeYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
2018 (in dollars per share)   $ 39.41phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWeightedAverageExercisePriceOptionsExpirationInFourYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
2019 and later (in dollars per share)   $ 15.79phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWeightedAverageExercisePriceOptionsExpirationInFiveYearsAndThereafter
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
Weighted Average Exercise Price (in dollars per share)   $ 16.23phmd_ShareBasedCompensationsWeightedAverageExercisePriceOfOutstandingOptionsThatWillExpire
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
Exercise Price [Abstract]                              
2015 (in dollars per share)   $ 102.90phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInNextTwelveMonths
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Risk-free interest rate (in hundredths)   2.17%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
1.30%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                       
Volatility (in hundredths)   78.41%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
85.25%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                       
Expected dividend yield (in hundredths)   0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                       
Expected life (in years)   5 years 6 months 5 years 6 months                        
Estimated forfeiture rate (in hundredths)   0.00%phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsEstimatedForfeitureRate
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
0.00%phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsEstimatedForfeitureRate
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                       
Share price (in dollars per share)   $ 1.53us-gaap_SharePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
                         
Stock Options [Member] | Employees and Consultants [Member]                              
Common Stock Options [Abstract]                              
Award vesting period                 5 years            
Stock options expiration period                 10 years            
Number of Stock Options [Roll Forward]                              
Granted (in shares)                 71,500us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
           
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Aggregate fair value                 718,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
           
Strike price options                 $ 14.80us-gaap_OptionIndexedToIssuersEquityStrikePrice1
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
           
Stock Options [Member] | Employees [Member]                              
Common Stock Options [Abstract]                              
Award vesting period                   4 years          
Stock options expiration period                   10 years          
Number of Stock Options [Roll Forward]                              
Granted (in shares)                   109,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesMember
         
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Aggregate fair value                   975,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesMember
         
Strike price options                   $ 13.70us-gaap_OptionIndexedToIssuersEquityStrikePrice1
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesMember
         
Restricted Stock [Member] | Executives Employees [Member]                              
Common Stock [Abstract]                              
Number of executive employees                     2phmd_NumberOfExecutiveEmployees
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
       
Common Stock Options [Abstract]                              
Stock options expiration period                     4 years        
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Aggregate fair value                     1,217,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
       
Restricted stock units granted (in shares)                     390,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
       
Price of restricted stock (in dollars per share)                     $ 0.01us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
       
Number of Warrants [Abstract]                              
Issued (in shares)                     390,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= us-gaap_ExecutiveOfficerMember
       
Restricted Stock [Member] | Employees and Consultants [Member] | LCA-Vision Inc [Member]                              
Common Stock [Abstract]                              
Number of executive employees                   3phmd_NumberOfExecutiveEmployees
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_BusinessAcquisitionAxis
= phmd_LcaVisionIncMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
         
Common Stock Options [Abstract]                              
Stock options expiration period                   3 years          
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Aggregate fair value                   1,936,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_BusinessAcquisitionAxis
= phmd_LcaVisionIncMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
         
Restricted stock units granted (in shares)                   141,337us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_BusinessAcquisitionAxis
= phmd_LcaVisionIncMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
         
Price of restricted stock (in dollars per share)                   $ 0.01us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_BusinessAcquisitionAxis
= phmd_LcaVisionIncMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
         
Number of Warrants [Abstract]                              
Issued (in shares)                   141,337us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_BusinessAcquisitionAxis
= phmd_LcaVisionIncMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesAndConsultantsMember
         
Restricted Stock [Member] | Employees [Member]                              
Common Stock Options [Abstract]                              
Stock options expiration period                       4 years      
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Aggregate fair value                       $ 435,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesMember
     
Restricted stock units granted (in shares)                       290,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesMember
     
Price of restricted stock (in dollars per share)                       $ 0.01us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesMember
     
Number of Warrants [Abstract]                              
Issued (in shares)                       290,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_RestrictedStockMember
/ us-gaap_TitleOfIndividualAxis
= phmd_EmployeesMember
     
Warrant [Member]                              
Black-Scholes option-pricing model to estimate fair value of grants of stock options [Abstract]                              
Share price (in dollars per share)   $ 1.53us-gaap_SharePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                         
Restricted stock units granted (in shares)   322,500us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
25,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Number of Warrants [Abstract]                              
Outstanding, Beginning Balance (in shares)   1,058,679us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
1,063,268us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
1,067,240us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Issued (in shares)   322,500us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
25,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Exercised (in shares)   0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
(17,756)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Expired/cancelled (in shares)   0us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
(4,589)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
(11,216)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Outstanding, Ending Balance (in shares)   1,381,179us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
1,058,679us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
1,063,268us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Weighted Average Exercise Price [Abstract]                              
Outstanding, Beginning Balance (in dollars per share)   $ 19.91phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 19.91phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 19.98phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Issued (in dollars per share)   $ 2.25phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 0phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 20.00phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Exercised (in dollars per share)   $ 0phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisedWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 0phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisedWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 7.50phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisedWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Expired/cancelled   $ 0phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 18.48phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 47.04phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Outstanding, Ending Balance (in dollars per share)   $ 15.79phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 19.91phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 19.91phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Number of Warrants [Abstract]                              
2015 (in shares)   32,250phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExpirationInNextTwelveMonths
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                         
2016 (in shares)   1,026,429phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExpirationInTwoYears
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                         
2017 (in shares)   322,500phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExpirationInThreeYears
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                         
Number of Warrants (in shares)   1,381,179us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
1,058,679us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
1,063,268us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Weighted Average Exercise Price [Abstract]                              
2015 (in dollars per share)   $ 17.19phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWeightedAverageExercisePriceWarrantsExpirationInNextTwelveMonths
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                         
2016 (in dollars per share)   $ 20.00phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWeightedAverageExercisePriceWarrantsExpirationInTwoYears
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                         
2017 (in dollars per share)   $ 2.25phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardWeightedAverageExercisePriceWarrantsExpirationInThreeYears
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                         
Weighted Average Exercise Price (in dollars per share)   $ 15.79phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 19.91phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
$ 19.91phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberWeightedAverageExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_WarrantMember
                     
Minimum [Member] | Stock Options [Member]                              
Exercise Price [Abstract]                              
2016 (in dollars per share)   $ 48.72phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInTwoYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
                         
2017 (in dollars per share)   $ 46.62phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInThreeYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
                         
2018 (in dollars per share)   $ 37.80phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInFourYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
                         
2019 and later (in dollars per share)   $ 5.70phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInFiveYearsAndThereafter
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
                         
Exercise Price (in dollars per share)   $ 5.70phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecreaseExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
                         
Maximum [Member] | Stock Options [Member]                              
Exercise Price [Abstract]                              
2016 (in dollars per share)   $ 93.66phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInTwoYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
                         
2017 (in dollars per share)   $ 47.88phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInThreeYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
                         
2018 (in dollars per share)   $ 39.90phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInFourYears
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
                         
2019 and later (in dollars per share)   $ 20.00phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceOptionsExpirationInFiveYearsAndThereafter
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
                         
Exercise Price (in dollars per share)   $ 102.90phmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecreaseExercisePrice
/ us-gaap_AwardTypeAxis
= us-gaap_EmployeeStockOptionMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember