XML 108 R68.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Debt - Convertible Senior Notes and Capped Call (Narrative) (Details) $ / shares in Units, shares in Millions |  |  |  | 1 Months Ended | 2 Months Ended | 3 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Sep. 30, 2024 | Mar. 01, 2024 USD ($) | Dec. 29, 2023 $ / shares | Mar. 31, 2024 USD ($) | Jun. 30, 2020 USD ($) $ / shares | Dec. 31, 2024 USD ($) $ / shares shares | Sep. 30, 2024 USD ($) | Jun. 30, 2024 USD ($) | Mar. 31, 2024 USD ($) | Dec. 31, 2023 USD ($) | Sep. 30, 2023 USD ($) | Jun. 30, 2023 USD ($) | Mar. 31, 2023 USD ($) | Dec. 31, 2024 USD ($) day $ / shares Rate shares | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Feb. 27, 2024 $ / shares | May 21, 2020 $ / shares
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gain on early extinguishment of debt |  |  |  |  |  | $ 0 | $ 0 | $ 0 | $ 6,615,000 | $ 0 | $ 0 | $ 0 | $ 0 | $ 6,615,000 | $ 0 | $ 0 |  |
Convertible Senior Notes, Due 2025 | Convertible Debt |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Extinguishment of debt |  | $ 313,100,000 |  |  |  |  |  |  |  |  |  |  |  | 313,100,000 |  |  |  |
Aggregate consideration to repurchase note |  | $ 304,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gain on early extinguishment of debt |  |  |  |  |  |  |  |  |  |  |  |  |  | 6,600,000 |  |  |  |
Cash received from unwound capped call settlement |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000 |  |  |  |
Stated interest rate on debt (percent) |  |  |  |  | 0.50% | 0.50% |  |  |  |  |  |  |  | 0.50% |  |  |  |
Proceeds from issuance of debt |  |  |  |  | $ 728,800,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Conversion ratio on convertible debt | Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.74437% |  |  |  |
Conversion price on convertible debt (in USD per share) | $ / shares |  |  |  |  |  | $ 134.34 |  |  |  |  |  |  |  | $ 134.34 |  |  |  |
Premium on conversion price in relation to closing price (percentage) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30.00%
Closing price of common stock (in dollars per share) | $ / shares |  |  | $ 40.64 |  |  | 40.64 |  |  |  |  |  |  |  | 40.64 |  |  |  | $ 103.34
Share price of common stock with conversion premium (in dollars per share) | $ / shares |  |  |  |  |  | $ 174.64 |  |  |  |  |  |  |  | $ 174.64 |  |  |  |
Sinking fund payment |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0 |  |  |  |
Cap price of the capped call transactions (in dollars per share) | $ / shares |  |  |  |  | $ 206.68 |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares covered in the capped call transactions (in shares) | shares |  |  |  |  |  | 3.2 |  |  |  |  |  |  |  | 3.2 |  |  |  |
Effective interest rate |  |  |  |  |  | 1.00% |  |  |  |  |  |  |  | 1.00% |  |  |  |
Stock price trigger (in dollars per share) | $ / shares |  |  |  |  | $ 134.34 |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible Senior Notes, Due 2025 | Convertible Debt | Fundamental Change Event |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt redemption price as percentage of principal amount |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |
Convertible Senior Notes, Due 2025 | Convertible Debt | On or After June 6, 2023 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 20 |  |  |  |
Number of consecutive trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 |  |  |  |
Threshold percentage of stock price trigger | 130.00% |  | 130.00% |  |  |  |  |  |  |  |  |  |  | 130.00% |  |  |  |
Debt redemption price as percentage of principal amount |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |
Number of trading days preceding notice of redemption | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 2 |  |  |  |
Convertible Senior Notes, Due 2025 | Convertible Debt | Convertible, Term One |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 20 |  |  |  |
Number of consecutive trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 |  |  |  |
Threshold percentage of stock price trigger |  |  |  |  |  |  |  |  |  |  |  |  |  | 130.00% |  |  |  |
Convertible Senior Notes, Due 2025 | Convertible Debt | Convertible, Term Two |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 5 |  |  |  |
Number of consecutive trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 5 |  |  |  |
Threshold percentage of stock price trigger |  |  |  |  |  |  |  |  |  |  |  |  |  | 98.00% |  |  |  |
Convertible Senior Notes, Due 2025 | Convertible Debt | Private Placement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount of debt |  |  |  |  | $ 747,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Option to purchase additional debt through private offering |  |  |  |  | $ 97,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible Senior Notes, Due 2029 | Convertible Debt |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Extinguishment of debt |  |  |  |  |  |  |  |  | $ 313,100,000 |  |  |  |  |  |  |  |  |
Stated interest rate on debt (percent) |  |  |  | 1.00% |  | 1.00% |  |  | 1.00% |  |  |  |  | 1.00% |  |  |  |
Proceeds from issuance of debt |  |  |  | $ 728,800,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Conversion ratio on convertible debt | Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.12592% |  |  |  |
Conversion price on convertible debt (in USD per share) | $ / shares |  |  |  |  |  | $ 79.42 |  |  |  |  |  |  |  | $ 79.42 |  |  |  |
Premium on conversion price in relation to closing price (percentage) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30.00% |
Closing price of common stock (in dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 61.09 |
Share price of common stock with conversion premium (in dollars per share) | $ / shares |  |  |  |  |  | $ 103.24 |  |  |  |  |  |  |  | $ 103.24 |  |  |  |
Sinking fund payment |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0 |  |  |  |
Cap price of the capped call transactions (in dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 122.18 |  |  |  |
Number of shares covered in the capped call transactions (in shares) | shares |  |  |  |  |  | 9.4 |  |  |  |  |  |  |  | 9.4 |  |  |  |
Minimum amount required for redemption |  |  |  |  |  | $ 100,000,000 |  |  |  |  |  |  |  | $ 100,000,000 |  |  |  |
Effective interest rate |  |  |  |  |  | 1.49% |  |  |  |  |  |  |  | 1.49% |  |  |  |
Stock price trigger (in dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 79.42 |  |  |  |
Convertible debt |  |  |  |  |  | $ 434,400,000 |  |  |  |  |  |  |  | $ 434,400,000 |  |  |  |
Convertible Senior Notes, Due 2029 | Convertible Debt | Fundamental Change Event |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt redemption price as percentage of principal amount |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |
Convertible Senior Notes, Due 2029 | Convertible Debt | On or After June 6, 2023 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 20 |  |  |  |
Number of consecutive trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 |  |  |  |
Threshold percentage of stock price trigger |  |  |  |  |  |  |  |  |  |  |  |  |  | 130.00% |  |  |  |
Debt redemption price as percentage of principal amount |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |
Convertible Senior Notes, Due 2029 | Convertible Debt | Convertible, Term One |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 20 |  |  |  |
Number of consecutive trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 |  |  |  |
Threshold percentage of stock price trigger |  |  |  |  |  |  |  |  |  |  |  |  |  | 130.00% |  |  |  |
Convertible Senior Notes, Due 2029 | Convertible Debt | Convertible, Term Two |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 5 |  |  |  |
Number of consecutive trading days | day |  |  |  |  |  |  |  |  |  |  |  |  |  | 5 |  |  |  |
Threshold percentage of stock price trigger |  |  |  |  |  |  |  |  |  |  |  |  |  | 98.00% |  |  |  |
Convertible Senior Notes, Due 2029 | Convertible Debt | Private Placement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount of debt |  |  |  | 747,500,000 |  | $ 747,500,000 |  |  | $ 747,500,000 |  |  |  |  | $ 747,500,000 |  |  |  |
Option to purchase additional debt through private offering |  |  |  | $ 97,500,000 |  |  |  |  | $ 97,500,000 |  |  |  |  |  |  |  |  |

X
- Definition Aggregate Consideration to Repurchase Note + References No definition available. + Details
Name: | fivn_AggregateConsiderationToRepurchaseNote
Namespace Prefix: | fivn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash Received from Unwound Capped Call Settlement + References No definition available. + Details
Name: | fivn_CashReceivedFromUnwoundCappedCallSettlement
Namespace Prefix: | fivn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Closing Price of Common Stock + References No definition available. + Details
Name: | fivn_ClosingPriceOfCommonStock
Namespace Prefix: | fivn_
Data Type: | dtr-types1:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Capped Call Transactions, Shares Coverage + References No definition available. + Details
Name: | fivn_DebtInstrumentCappedCallTransactionsSharesCoverage
Namespace Prefix: | fivn_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Convertible, Capped Call Transactions, Cap Price + References No definition available. + Details
Name: | fivn_DebtInstrumentConvertibleCappedCallTransactionsCapPrice
Namespace Prefix: | fivn_
Data Type: | dtr-types1:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Convertible, Trading Days Preceding Redemption Notice + References No definition available. + Details
Name: | fivn_DebtInstrumentConvertibleTradingDaysPrecedingRedemptionNotice
Namespace Prefix: | fivn_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Option to Purchase Additional Debt through Private Offering + References No definition available. + Details
Name: | fivn_DebtInstrumentOptionToPurchaseAdditionalDebtThroughPrivateOffering
Namespace Prefix: | fivn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Instrument, Premium on Conversion Price in relation to Closing Price + References No definition available. + Details
Name: | fivn_DebtInstrumentPremiumOnConversionPriceInRelationToClosingPrice
Namespace Prefix: | fivn_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Redemption, Minimum Aggregate Principal Amount Outstanding Required For Redemption + References No definition available. + Details
Name: | fivn_DebtInstrumentRedemptionMinimumAggregatePrincipalAmountOutstandingRequiredForRedemption
Namespace Prefix: | fivn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Share Price of Common Stock with Conversion Premium + References No definition available. + Details
Name: | fivn_SharePriceOfCommonStockWithConversionPremium
Namespace Prefix: | fivn_
Data Type: | dtr-types1: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 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 Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount. + 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)(5)) -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 (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-7 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-6 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Price of the entity's common stock which would be required to be attained for the conversion feature embedded in the debt instrument to become effective. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleStockPriceTrigger
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

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 Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + 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://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 3: 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 4: 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 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-6 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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 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 Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 470 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477734/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount paid into a fund, which is used to retire the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-1 + Details
Name: | us-gaap_DebtInstrumentSinkingFundPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Gross amount of debt extinguished. + References No definition available. + Details
Name: | us-gaap_ExtinguishmentOfDebtAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -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_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=fivn_ConvertibleSeniorNotesDue2025Member
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_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | fivn_DebtInstrumentConvertibleTermAxis=fivn_DebtInstrumentConvertibleTermOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | fivn_DebtInstrumentConvertibleTermAxis=fivn_DebtInstrumentConvertibleTermTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_PrivatePlacementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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