Cash, Cash Equivalents and Investments - Summary of available-for-sale securities' fair value and gross unrealized losses (Details) (USD $) In Thousands, unless otherwise specified
|
Mar. 31, 2015
|
Dec. 31, 2014
|
Schedule of Available-for-sale Securities [Line Items] |
|
|
Available-for-sale securities, continuous unrealized loss position, twelve months or less, fair value |
$ 121,213us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
|
$ 197,939us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
|
Available-for-sale securities, continuous unrealized loss position, twelve months or less, gross unrealized loss |
(144)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss
|
(431)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss
|
Available-for-sale securities, continuous unrealized loss position, twelve months or longer, fair value |
12,732us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
|
12,148us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
|
Available-for-sale securities, continuous unrealized loss position, twelve months or longer, gross unrealized loss |
(16)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss
|
(22)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss
|
Available-for-sale securities, continuous unrealized loss position, fair value |
133,945us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue
|
210,087us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue
|
Available-for-sale securities, continuous unrealized loss position, gross unrealized loss |
(160)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
|
(453)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
|
Corporate debt securities |
|
|
Schedule of Available-for-sale Securities [Line Items] |
|
|
Available-for-sale securities, continuous unrealized loss position, twelve months or less, fair value |
117,964us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
192,699us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, twelve months or less, gross unrealized loss |
(143)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
(422)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, twelve months or longer, fair value |
10,737us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
12,148us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, twelve months or longer, gross unrealized loss |
(11)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
(22)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, fair value |
128,701us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
204,847us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, gross unrealized loss |
(154)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
(444)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_CorporateDebtSecuritiesMember
|
U.S. government and government agency debt securities |
|
|
Schedule of Available-for-sale Securities [Line Items] |
|
|
Available-for-sale securities, continuous unrealized loss position, twelve months or less, fair value |
3,249us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
5,240us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, twelve months or less, gross unrealized loss |
(1)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
(9)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, twelve months or longer, fair value |
1,995us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
0us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, twelve months or longer, gross unrealized loss |
(5)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
0p_AvailableforsaleSecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, fair value |
5,244us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
5,240us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
Available-for-sale securities, continuous unrealized loss position, gross unrealized loss |
$ (6)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|
$ (9)p_AvailableforsaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_USGovernmentAgenciesDebtSecuritiesMember
|