XML 79 R70.htm IDEA: XBRL DOCUMENT
v3.25.2

Debt and Credit Facilities - Additional Information (Details) |  | 1 Months Ended | 3 Months Ended | 6 Months Ended |
--- | --- | --- | --- | --- | ---
Jan. 01, 2024 USD ($) | Jun. 30, 2025 USD ($) Extension $ / shares | Feb. 29, 2024 USD ($) d $ / shares | Sep. 30, 2022 USD ($) | Jun. 30, 2021 USD ($) Extension | Aug. 31, 2020 USD ($) d $ / shares shares | Jun. 30, 2025 USD ($) $ / shares | Jun. 30, 2024 USD ($) | Mar. 31, 2024 USD ($) | Jun. 30, 2025 USD ($) d $ / shares shares | Jun. 30, 2024 USD ($) | Jun. 30, 2021 USD ($) | Dec. 31, 2024 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Letters of credit outstanding amount |  | $ 353,800,000 |  |  |  |  | $ 353,800,000 |  |  | $ 353,800,000 |  |  | $ 328,400,000
Tax effect of unwind existing bond hedge |  | 13,455,000 |  |  |  |  | 13,455,000 |  |  | 13,455,000 |  |  | 7,701,000
Deferred tax liabilities |  | 19,287,000 |  |  |  |  | 19,287,000 |  |  | 19,287,000 |  |  | 11,043,000
Effective tax rate and tax benefit |  |  |  |  |  |  |  |  |  |  | $ 4,300,000 |  |
Deferred tax assets |  | 134,142,000 |  |  |  |  | 134,142,000 |  |  | 134,142,000 |  |  | $ 133,450,000
Convertible debt repurchase loss | $ (18,400,000) |  |  |  |  |  |  |  |  | 0 | (18,355,000) |  |
2022 Delayed Draw Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt issuance costs incurred |  | $ 900,000 |  |  |  |  | $ 900,000 |  |  | $ 900,000 |  |  |
Interest rate |  | 5.60% |  |  |  |  | 5.60% |  |  | 5.60% |  |  | 5.60%
Interest expense |  |  |  |  |  |  | $ 3,300,000 | $ 5,800,000 |  | $ 8,200,000 | 11,800,000 |  |
Debt instrument, outstanding amount |  |  |  |  |  |  |  |  |  |  |  |  | $ 350,000,000
Debt amount |  |  |  | $ 350,000,000 |  |  |  |  |  |  |  |  |
Maturity Date |  |  |  | Jun. 30, 2025 |  |  |  |  |  |  |  |  |
Debt issuance date |  |  |  | Sep. 30, 2022 |  |  |  |  |  |  |  |  |
Debt instrument, maturity period |  |  |  | 3 years |  |  |  |  |  |  |  |  |
Unused term loan commitments rate |  |  |  | 0.175% |  |  |  |  |  |  |  |  |
Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt issuance costs incurred |  | $ 900,000 |  |  |  |  | $ 900,000 |  |  | $ 900,000 |  |  |
Interest rate |  | 5.50% |  |  |  |  | 5.50% |  |  | 5.50% |  |  |
Interest expense |  |  |  |  |  |  | $ 1,700,000 |  |  | $ 1,700,000 |  |  |
Debt instrument, outstanding amount |  | $ 450,000,000 |  |  |  |  | 450,000,000 |  |  | 450,000,000 |  |  |
Debt amount |  | $ 450,000,000 |  |  |  |  | 450,000,000 |  |  | 450,000,000 |  |  |
Debt issuance date |  | Jun. 30, 2025 |  |  |  |  |  |  |  |  |  |  |
Debt instrument, maturity period |  | 3 years |  |  |  |  |  |  |  |  |  |  |
ASU 2024-04 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible debt repurchase loss |  |  |  |  |  |  |  |  |  |  | (18,355,000) |  |
Delayed Draw Term Loan Due 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Terminated debt |  | $ 350,000,000 |  |  |  |  |  |  |  |  |  |  |
Debt instrument, outstanding amount |  | 0 |  |  |  |  | 0 |  |  | 0 |  |  | 350,000,000
Term Loan Due 2028 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, outstanding amount |  | 450,000,000 |  |  |  |  | 450,000,000 |  |  | 450,000,000 |  |  | 0
Debt amount |  | 450,000,000 |  |  |  |  | 450,000,000 |  |  | 450,000,000 |  |  |
Convertible Senior Notes Due 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  | 0.25% |  |  |  |  |  |  |
Interest expense |  |  |  |  |  |  | 70,000.00 | 100,000 |  | $ 100,000 | 3,700,000 |  |
Debt amount |  |  |  |  |  | $ 400,000,000 |  |  |  |  |  |  |
Exercise of option by initial purchasers aggregate principal amount |  |  |  |  |  | 50,000,000 |  |  |  |  |  |  |
Proceeds from issuance and sale of debt |  |  |  |  |  | 389,700,000 |  |  |  |  |  |  |
Transaction fees and other third-party offering expenses |  |  |  |  |  | $ 10,300,000 |  |  |  |  |  |  |
Debt instrument, payment terms |  |  |  |  |  |  |  |  |  | The Convertible Senior Notes accrue interest at a rate of 0.25% per annum, payable semi-annually on February 15 and August 15 of each year beginning on February 15, 2021 |  |  |
Debt instrument, frequency of periodic payment |  |  |  |  |  |  |  |  |  | semi-annually |  |  |
Maturity Date |  |  |  |  |  | Aug. 15, 2025 |  |  |  |  |  |  |
Convertible note converted each amount |  | $ 1,000 |  |  |  |  | $ 1,000 |  |  | $ 1,000 |  |  |
Convertible notes converted each into shares of common stock | shares |  |  |  |  |  |  |  |  |  | 22.2913 |  |  |
Debt Instrument, conversion price | $ / shares |  | $ 44.86 |  |  |  |  | $ 44.86 |  |  | $ 44.86 |  |  |
Threshold trading days | d |  |  |  |  |  | 20 |  |  |  | 51 |  |  |
Threshold consecutive trading days | d |  |  |  |  |  | 30 |  |  |  |  |  |  |
Conversion percentage of stock price trigger |  |  |  |  |  | 130.00% |  |  |  |  |  |  |
Number of business day period |  |  |  |  |  | 5 days |  |  |  |  |  |  |
Consecutive trading day period |  |  |  |  |  | 5 days |  |  |  |  |  |  |
Convertible principal amount |  |  |  |  |  | $ 1,000 |  |  |  |  |  |  |
Measurement period, percentage |  |  |  |  |  | 98.00% |  |  |  |  |  |  |
Percentage of principal amount to redeem convertible senior notes |  |  |  |  |  | 100.00% |  |  |  |  |  |  |
Percentage of convertible senior notes repurchased at cash |  |  |  |  |  | 100.00% |  |  |  |  |  |  |
Net carrying value of notes |  | $ 84,900,000 |  |  |  |  | $ 84,900,000 |  |  | $ 84,900,000 |  |  | 113,400,000
Convertible Senior Notes due 2029 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  | 2.625% |  |  |  |  |  |  |  |  |  |
Interest expense |  |  |  |  |  |  | 6,300,000 | 6,300,000 |  | 12,600,000 | 8,700,000 |  |
Debt amount |  |  | $ 800,000,000 |  |  |  |  |  |  |  |  |  |
Exercise of option by initial purchasers aggregate principal amount |  |  | 100,000,000 |  |  |  |  |  |  |  |  |  |
Proceeds from issuance and sale of debt |  |  | 781,100,000 |  |  |  |  |  |  |  |  |  |
Transaction fees and other third-party offering expenses |  |  | $ 18,900,000 |  |  |  |  |  |  |  |  |  |
Debt instrument, payment terms |  |  | The 2029 Convertible Notes accrue interest at a rate of 2.625% per annum, payable semi-annually on March 1 and September 1 of each year beginning on September 1, 2024 |  |  |  |  |  |  |  |  |  |
Debt instrument, frequency of periodic payment |  |  | semi-annually |  |  |  |  |  |  |  |  |  |
Maturity Date |  |  | Mar. 01, 2029 |  |  |  |  |  |  |  |  |  |
Convertible note converted each amount |  | $ 1,000 |  |  |  |  | $ 1,000 |  |  | $ 1,000 |  |  |
Convertible notes converted each into shares of common stock | shares |  |  |  |  |  |  |  |  |  | 10.6256 |  |  |
Debt Instrument, conversion price | $ / shares |  | $ 94.11 |  |  |  |  | $ 94.11 |  |  | $ 94.11 |  |  |
Threshold trading days | d |  |  | 20 |  |  |  |  |  |  | 51 |  |  |
Threshold consecutive trading days | d |  |  | 30 |  |  |  |  |  |  |  |  |  |
Conversion percentage of stock price trigger |  |  | 130.00% |  |  |  |  |  |  |  |  |  |
Number of business day period |  |  | 5 days |  |  |  |  |  |  |  |  |  |
Consecutive trading day period |  |  | 5 days |  |  |  |  |  |  |  |  |  |
Convertible principal amount |  |  | $ 1,000 |  |  |  |  |  |  |  |  |  |
Measurement period, percentage |  |  | 98.00% |  |  |  |  |  |  |  |  |  |
Percentage of principal amount to redeem convertible senior notes |  |  | 100.00% |  |  |  |  |  |  |  |  |  |
Percentage of convertible senior notes repurchased at cash |  |  | 100.00% |  |  |  |  |  |  |  |  |  |
Net carrying value of notes |  | $ 786,400,000 |  |  |  |  | $ 786,400,000 |  |  | $ 786,400,000 |  |  | $ 784,300,000
Maximum | 2022 Delayed Draw Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Increase in term loan |  |  |  | $ 150,000,000 |  |  |  |  |  |  |  |  |
Maximum | Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Increase in term loan |  | 150,000,000 |  |  |  |  |  |  |  |  |  |  |
Convertible Note Hedge And Warrant Transaction |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Tax effect of unwind existing bond hedge |  | $ 46,200,000 |  |  |  |  | $ 46,200,000 |  |  | 46,200,000 |  |  |
Convertible Note Hedge And Warrant Transaction | Convertible Senior Notes Due 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of convertible senior notes |  |  | $ 228,100,000 |  |  |  |  |  |  |  |  |  |
Proceeds from issuance and sale of debt |  |  |  |  |  |  |  |  |  | $ 391,800,000 |  |  |
Bond hedge term |  |  |  |  |  |  |  |  |  | 5 years |  |  |
Number of shares issuable upon conversion | shares |  |  |  |  |  | 8,900,000 |  |  |  |  |  |  |
Cost of convertible note hedge transaction |  |  |  |  |  | $ 55,000,000 |  |  |  |  |  |  |
Number of common stock acquired by offsetting sale warrants. | shares |  |  |  |  |  |  |  |  |  | 8,900,000 |  |  |
Exercise price of warrants | $ / shares |  | $ 66.46 |  |  |  |  | $ 66.46 |  |  | $ 66.46 |  |  |
Proceeds from issuance of warrants |  |  |  |  |  |  |  |  |  | $ 13,800,000 |  |  |
Purchase of bond hedges and sale of warrants |  |  |  |  |  | $ 41,200,000 |  |  |  |  |  |  |
Deferred tax liabilities |  | $ 16,200,000 |  |  |  |  | $ 16,200,000 |  |  | 16,200,000 |  |  |
Deferred tax assets |  | 16,500,000 |  |  |  |  | 16,500,000 |  |  | 16,500,000 |  |  |
Convertible Note Hedge And Warrant Transaction | Convertible Senior Notes Due 2025 | ASC 2020-06 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax liability reversed |  | 13,900,000 |  |  |  |  | 13,900,000 |  |  | 13,900,000 |  |  |
Additional deferred tax liability related to capitalized debt issuance costs |  | 400,000 |  |  |  |  | 400,000 |  |  | 400,000 |  |  |
Adjustment to deferred tax asset through retained earnings |  | $ 900,000 |  |  |  |  | 900,000 |  |  | 900,000 |  |  |
Convertible Note Hedge And Warrant Transaction | Convertible Senior Notes due 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  | 0.25% |  |  |  |
Acceleration charge of amortization of debt issuance costs |  |  |  |  |  |  |  |  |  |  | 3,200,000 |  |
Effective tax rate and tax benefit |  |  |  |  |  |  |  |  | $ 49,900,000 |  |  |  |
Convertible debt repurchase loss |  |  |  |  |  |  |  |  |  |  | (18,400,000) |  |
Convertible Note Hedge And Warrant Transaction | Convertible Senior Notes due 2025 | ASU 2024-04 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Loss on extinguishment of debt |  |  |  |  |  |  |  |  | $ 211,000,000 |  |  |  |
Convertible Note Hedge And Warrant Transaction | Convertible Senior Notes Due 2025 Note Hedge And Warrants |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase of convertible senior notes |  |  | 56,500,000 |  |  |  |  |  |  |  |  |  |
Proceeds from issuance and sale of debt |  |  |  |  |  |  |  |  |  | 103,800,000 |  |  |
Proceeds from partial termination of note hedge and warrants |  |  | 90,600,000 |  |  |  |  |  |  |  |  |  |
Convertible Note Hedge And Warrant Transaction | Minimum | Convertible Senior Notes Due 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, conversion price | $ / shares |  |  |  |  |  | $ 44.86 |  |  |  |  |  |  |
Percentage of bond hedge and warrant transactions increased conversion price |  |  |  |  |  | 35.00% |  |  |  |  |  |  |
Convertible Note Hedge And Warrant Transaction | Maximum | Convertible Senior Notes Due 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, conversion price | $ / shares |  |  |  |  |  | $ 66.46 |  |  |  |  |  |  |
Percentage of bond hedge and warrant transactions increased conversion price |  |  |  |  |  | 100.00% |  |  |  |  |  |  |
Capped Call Transaction |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  | $ 22.3 |  |  |  |  |  |  |  |  |  |
Capped Call Transaction | Convertible Senior Notes Due 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, conversion price | $ / shares |  |  | $ 131.7575 |  |  |  |  |  |  |  |  |  |
Premium of reported sale price percentage |  |  | 75.00% |  |  |  |  |  |  |  |  |  |
Convertible Notes Converted Sale Price Of Common Stock | $ / shares |  |  | $ 75.29 |  |  |  |  |  |  |  |  |  |
Cost of convertible note hedge transaction |  |  | $ 88,400,000 |  |  |  |  |  |  |  |  |  |
Base Rate | Minimum | 2022 Delayed Draw Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  | 0.00% |  |  |  |  |  |  |  |  |
Base Rate | Minimum | Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  | 0.00% |  |  |  |  |  |  |  |  |  |  |
Base Rate | Maximum | 2022 Delayed Draw Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  | 0.50% |  |  |  |  |  |  |  |  |
Base Rate | Maximum | Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  | 0.50% |  |  |  |  |  |  |  |  |  |  |
SOFR Benchmark Rate | Minimum | 2022 Delayed Draw Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  | 0.875% |  |  |  |  |  |  |  |  |
SOFR Benchmark Rate | Minimum | Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  | 0.875% |  |  |  |  |  |  |  |  |  |  |
SOFR Benchmark Rate | Maximum | 2022 Delayed Draw Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  | 1.50% |  |  |  |  |  |  |  |  |
SOFR Benchmark Rate | Maximum | Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  | 1.50% |  |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility due 2030 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Credit agreement date |  | Jun. 30, 2025 |  |  |  |  |  |  |  |  |  |  |
Revolving credit facility |  | $ 750,000,000 |  |  |  |  | 750,000,000 |  |  | 750,000,000 |  |  |
Debt issuance costs incurred |  | 1,700,000 |  |  |  |  | 1,700,000 |  |  | 1,700,000 |  |  |
Revolving credit facility |  | $ 650,000,000 |  |  |  |  | $ 650,000,000 |  |  | $ 650,000,000 |  |  |
Credit agreement maturity period |  | 5 years |  |  |  |  |  |  |  |  |  |  |
Credit agreement number of extensions | Extension |  | 2 |  |  |  |  |  |  |  |  |  |  |
Interest rate |  | 5.60% |  |  |  |  | 5.60% |  |  | 5.60% |  |  |
Letters of credit outstanding amount |  | $ 41,800,000 |  |  |  |  | $ 41,800,000 |  |  | $ 41,800,000 |  |  |
Interest expense |  |  |  |  |  |  | $ 200,000 | 200,000 |  | $ 500,000 | 500,000 |  |
Revolving Credit Facility due 2030 | Base Rate | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  |  |  |  |  |  |  | 0.00% |  |  |
Revolving Credit Facility due 2030 | Base Rate | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  |  |  |  |  |  |  | 0.625% |  |  |
Revolving Credit Facility due 2030 | SOFR Benchmark Rate | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  | 1.00% |  |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility due 2030 | SOFR Benchmark Rate | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  | 1.625% |  |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility due 2026 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Credit agreement date |  |  |  |  | Jun. 30, 2021 |  |  |  |  |  |  |  |
Credit agreement termination date |  |  |  |  | Jun. 30, 2025 |  |  |  |  |  |  |  |
Revolving credit facility |  |  |  |  | $ 650,000,000 |  |  |  |  |  |  | $ 650,000,000 |
Terminated debt |  | $ 650,000,000 |  |  |  |  |  |  |  |  |  |  |
Debt issuance costs incurred |  |  |  |  | 1,900,000 |  |  |  |  |  |  | 1,900,000 |
Revolving credit facility |  |  |  |  | $ 550,000,000 |  |  |  |  |  |  | $ 550,000,000 |
Credit agreement maturity period |  |  |  |  | 5 years |  |  |  |  |  |  |  |
Credit agreement number of extensions | Extension |  |  |  |  | 2 |  |  |  |  |  |  |  |
Interest rate |  | 5.70% |  |  |  |  | 5.70% |  |  | 5.70% |  |  | 5.70%
Letters of credit outstanding amount |  |  |  |  |  |  |  |  |  |  |  |  | $ 43,000,000
Interest expense |  |  |  |  |  |  | $ 200,000 | $ 200,000 |  | $ 500,000 | $ 500,000 |  |
Revolving Credit Facility due 2026 | Base Rate | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  |  |  |  |  |  |  |  |  | 0.00% |
Revolving Credit Facility due 2026 | Base Rate | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  |  |  |  |  |  |  |  |  | 0.625% |
Revolving Credit Facility due 2026 | SOFR Benchmark Rate | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  |  | 1.00% |  |  |  |  |  |  |  |
Revolving Credit Facility due 2026 | SOFR Benchmark Rate | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Margin interest rate |  |  |  |  | 1.625% |  |  |  |  |  |  |  |

X
- Definition Additional deferred tax liability related to Capitalized debt issuance cost. + References No definition available. + Details
Name: | psn_AdditionalDeferredTaxLiabilityRelatedToCapitalizedDebtIssuanceCost
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Adjustment to deferred tax asset through retained earnings. + References No definition available. + Details
Name: | psn_AdjustmentToDeferredTaxAssetThroughRetainedEarnings
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Bond hedge term. + References No definition available. + Details
Name: | psn_BondHedgeTerm
Namespace Prefix: | psn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Convertible note converted each amount. + References No definition available. + Details
Name: | psn_ConvertibleNoteConvertedEachAmount
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Convertible notes converted each into shares of common stock. + References No definition available. + Details
Name: | psn_ConvertibleNotesConvertedEachIntoSharesOfCommonStock
Namespace Prefix: | psn_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Convertible notes converted sale price of common stock + References No definition available. + Details
Name: | psn_ConvertibleNotesConvertedSalePriceOfCommonStock
Namespace Prefix: | psn_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Cost of convertible note hedge transactions. + References No definition available. + Details
Name: | psn_CostOfConvertibleNoteHedgeTransaction
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt instrument convertible business period. + References No definition available. + Details
Name: | psn_DebtInstrumentConvertibleBusinessPeriod
Namespace Prefix: | psn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument convertible consecutive business day period. + References No definition available. + Details
Name: | psn_DebtInstrumentConvertibleConsecutiveBusinessDayPeriod
Namespace Prefix: | psn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument convertible measurement period percentage. + References No definition available. + Details
Name: | psn_DebtInstrumentConvertibleMeasurementPeriodPercentage
Namespace Prefix: | psn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument convertible premium period percentage. + References No definition available. + Details
Name: | psn_DebtInstrumentConvertiblePremiumPeriodPercentage
Namespace Prefix: | psn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument convertible principal amount. + References No definition available. + Details
Name: | psn_DebtInstrumentConvertiblePrincipalAmount
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt instrument exercise of option by initial purchasers aggregate principal amount. + References No definition available. + Details
Name: | psn_DebtInstrumentExerciseOfOptionByInitialPurchasersAggregatePrincipalAmount
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt instrument number of shares issuable upon conversion. + References No definition available. + Details
Name: | psn_DebtInstrumentNumberOfSharesIssuableUponConversion
Namespace Prefix: | psn_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit facility number of extensions. + References No definition available. + Details
Name: | psn_LineOfCreditFacilityNumberOfExtensions
Namespace Prefix: | psn_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net cost of purchase of bond hedges and sale of warrants. + References No definition available. + Details
Name: | psn_NetCostOfPurchaseOfBondHedgesAndSaleOfWarrants
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of common stock acquired by offsetting sale warrants. + References No definition available. + Details
Name: | psn_NumberOfCommonStockAcquiredByOffsettingSaleWarrants
Namespace Prefix: | psn_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of bond hedge and warrant transactions increased conversion price. + References No definition available. + Details
Name: | psn_PercentageOfBondHedgeAndWarrantTransactionsIncreasedConversionPrice
Namespace Prefix: | psn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of convertible senior notes repurchased at cash. + References No definition available. + Details
Name: | psn_PercentageOfConvertibleSeniorNotesRepurchasedAtCash
Namespace Prefix: | psn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of principal amount to redeem convertible senior notes. + References No definition available. + Details
Name: | psn_PercentageOfPrincipalAmountToRedeemConvertibleSeniorNotes
Namespace Prefix: | psn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Proceeds from partial termination of note hedge and warrants. + References No definition available. + Details
Name: | psn_ProceedsFromPartialTerminationOfNoteHedgeAndWarrants
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reversal of deferred tax liability. + References No definition available. + Details
Name: | psn_ReversalOfDeferredTaxLiability
Namespace Prefix: | psn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unused term loan commitments rate. + References No definition available. + Details
Name: | psn_UnusedTermLoanCommitmentsRate
Namespace Prefix: | psn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Including the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_ConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-5 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Threshold period of specified consecutive trading days within which common stock price to conversion price of convertible debt instrument must exceed threshold percentage for specified number of trading days to trigger conversion feature. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum percentage of common stock price to conversion price of convertible debt instruments to determine eligibility of conversion. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold number of specified trading days that common stock price to conversion price of convertible debt instruments must exceed threshold percentage within a specified consecutive trading period to trigger conversion feature. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdTradingDays
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Description of the frequency of periodic payments (monthly, quarterly, annual). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477734/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentFrequencyOfPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net increase or decrease in the carrying amount of the debt instrument for the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date the debt instrument was issued, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentIssuanceDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1I Reference 26: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 27: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the payment terms of the debt instrument (for example, whether periodic payments include principal and frequency of payments) and discussion about any contingencies associated with the payment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477734/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentPaymentTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-6 + Details
Name: | us-gaap_DeferredIncomeTaxAssetsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-6 + Details
Name: | us-gaap_DeferredIncomeTaxLiabilitiesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of gain (loss) from the difference between the repurchase price of a debt instrument initially issued by the entity and the net carrying amount of the debt at the time of its repurchase. + References No definition available. + Details
Name: | us-gaap_GainLossOnRepurchaseOfDebtInstrument
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481303/470-50-40-2 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481303/470-50-40-4 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to tax credits. Including, but not limited to, research credit, foreign tax credit, investment tax credit, and other tax credits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12A -Subparagraph (a)(5) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12A Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 + Details
Name: | us-gaap_IncomeTaxReconciliationTaxCredits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-6 + Details
Name: | us-gaap_InterestExpenseDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date the credit facility terminates, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period remaining on line of credit facility before it terminates, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the credit facility first became available, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityInitiationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow from additional borrowings, net of cash paid to third parties in connection with debt origination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromDebtNetOfIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from issuance of rights to purchase common shares at predetermined price (usually issued together with corporate debt). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 14 -Subparagraph (a) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromIssuanceOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow from the repayment of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash outflow for short-term and long-term debt. Excludes payment of lease obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations incurred and payable for statutory income, sales, use, payroll, excise, real, property and other taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_TaxesPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Write-off of amounts previously capitalized as debt issuance cost in an extinguishment of debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_WriteOffOfDeferredDebtIssuanceCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=psn_TwoThousandTwentyTwoDelayedDrawTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=psn_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=psn_AccountingStandardsUpdate2024-04Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=psn_DelayedDrawTermLoanDueTwoThousandTwentyFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=psn_TermLoanDueTwoThousandTwentyEightMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=psn_ConvertibleSeniorNotesDueTwoThousandTwentyFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=psn_ConvertibleSeniorNotesDueTwoThousandTwentyNineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=psn_ConvertibleNoteHedgeAndWarrantTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate202006Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=psn_ConvertibleSeniorNotesDue2025NoteHedgeAndWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=psn_CappedCallTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=psn_RevolvingCreditFacilityDueTwoThousandThirtyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=psn_RevolvingCreditFacilityDueTwoThousandTwentySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |