v3.22.0.1

Debt - Narrative (Details) shares in Millions |  | 1 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Aug. 11, 2020 USD ($) shares | Aug. 31, 2020 USD ($) | Dec. 31, 2021 USD ($) shares | Dec. 31, 2020 USD ($) shares | Dec. 31, 2019 USD ($) | Jun. 30, 2017 USD ($)
Debt Conversion [Line Items] |  |  |  |  |  |
Estimated fair value of the note based on the closing trading price |  |  | $ 100 | $ 100 |  |
Percentage of purchase price of notes which should be paid upon fundamental change (percent) |  |  | 100.00% |  |  |
Benefit from exercise of Note Hedge |  |  | $ 224,000,000 | 1,379,000,000 |  |
Net proceeds from unwind of 2022 Note Hedge |  |  | 0 | 1,106,000,000 | $ 0 |
Loss on extinguishment of debt |  |  | $ (3,000,000) | $ (47,000,000) | $ 0 |
Warrant exercise period |  |  | 60 days |  |  |
2022 Warrants |  |  |  |  |  |
Debt Conversion [Line Items] |  |  |  |  |  |
Number of shares to be issued upon exercise of the Warrants (in shares) | shares |  |  | 0.5 | 2.3 |  |
Number of potential securities issued upon automatic exercise of the Warrants (in shares) | shares |  |  | 0.7 |  |  |
Stock Price Trigger Measurement |  |  |  |  |  |
Debt Conversion [Line Items] |  |  |  |  |  |
Number of days out of 30 that common stock price exceeded conversion price, days |  |  | 20 days |  |  |
Number of consecutive trading days in a period |  |  | 30 days |  |  |
Threshold percentage of stock price trigger (percent) |  |  | 130.00% |  |  |
Notes Price Trigger Measurement |  |  |  |  |  |
Debt Conversion [Line Items] |  |  |  |  |  |
Number of consecutive trading days in a period |  |  | 5 days |  |  |
Threshold percentage of stock price trigger (percent) |  |  | 98.00% |  |  |
Conversion of notes base conversion price |  |  | $ 1,000 |  |  |
2030 Notes |  |  |  |  |  |
Debt Conversion [Line Items] |  |  |  |  |  |
Contractual interest rate, notes |  | 1.40% |  |  |  |
Debt term |  | 10 years |  |  |  |
Notes, par value |  | $ 1,500,000,000 | 1,500,000,000 |  |  |
Percentage of principle issued |  | 0.9963 |  |  |  |
Debt issuance costs |  | $ 13,000,000 |  |  |  |
2022 Notes |  |  |  |  |  |
Debt Conversion [Line Items] |  |  |  |  |  |
Contractual interest rate, notes |  |  |  |  |  | 0.00%
Notes, par value |  |  | 92,000,000 |  |  | $ 782,500,000
Net amount recorded in equity |  |  |  |  |  | $ 160,000,000
Settlement of principal |  |  | 75,000,000 |  |  |
Benefit from exercise of Note Hedge |  |  | 225,000,000 |  |  |
Conversion option settlement, fair value adjustments |  |  | $ 224,000,000 |  |  |
Repurchased face amount | $ 497,000,000 |  |  |  |  |
Net proceeds from unwind of 2022 Note Hedge | 1,100,000,000 |  |  |  |  |
Extinguishment of debt, amount, equity component | 493,000,000 |  |  |  |  |
Extinguishment of debt, amount, debt component | 1,100,000,000 |  |  |  |  |
Loss on extinguishment of debt | (39,000,000) |  |  |  |  |
Unamortized debt discount and unamortized debt issuance costs | $ 43,000,000 |  |  |  |  |
Reduction of aggregate number of call options (in shares) | shares | 3.7 |  |  |  |  |

X
- Definition Adjustments To Additional Paid In Capital, Value, Benefit Received From Note Hedge + References No definition available. + Details
Name: | now_AdjustmentsToAdditionalPaidInCapitalValueBenefitReceivedFromNoteHedge
Namespace Prefix: | now_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Benefit Received From Note Hedge + References No definition available. + Details
Name: | now_BenefitReceivedFromNoteHedge
Namespace Prefix: | now_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Class Of Warrant Or Right, Exercise Period + References No definition available. + Details
Name: | now_ClassOfWarrantOrRightExercisePeriod
Namespace Prefix: | now_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Class Of Warrant Or Right, Number Of Potential Securities Issued Upon Automatic Exercise Provision + References No definition available. + Details
Name: | now_ClassOfWarrantOrRightNumberOfPotentialSecuritiesIssuedUponAutomaticExerciseProvision
Namespace Prefix: | now_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Conversion Of Notes Base Conversion Price + References No definition available. + Details
Name: | now_ConversionOfNotesBaseConversionPrice
Namespace Prefix: | now_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt Instrument, Convertible, Threshold Consecutive Trading Days + References No definition available. + Details
Name: | now_DebtInstrumentConvertibleThresholdConsecutiveTradingDays
Namespace Prefix: | now_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Convertible, Threshold Number of Trading Days + References No definition available. + Details
Name: | now_DebtInstrumentConvertibleThresholdNumberOfTradingDays
Namespace Prefix: | now_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Percentage Of Face Amount Issued + References No definition available. + Details
Name: | now_DebtInstrumentPercentageOfFaceAmountIssued
Namespace Prefix: | now_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity Component of Repayment of Convertible Debt, Fair Value + References No definition available. + Details
Name: | now_EquityComponentofRepaymentofConvertibleDebtFairValue
Namespace Prefix: | now_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Extinguishment Of Debt, Amount, Debt Component + References No definition available. + Details
Name: | now_ExtinguishmentOfDebtAmountDebtComponent
Namespace Prefix: | now_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Extinguishment Of Debt, Amount, Equity Component + References No definition available. + Details
Name: | now_ExtinguishmentOfDebtAmountEquityComponent
Namespace Prefix: | now_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fair Value Measurement Debt Basis Amount + References No definition available. + Details
Name: | now_FairValueMeasurementDebtBasisAmount
Namespace Prefix: | now_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage Of Purchase Price Of Notes Which Should Be Paid Upon Fundamental Change + References No definition available. + Details
Name: | now_PercentageOfPurchasePriceOfNotesWhichShouldBePaidUponFundamentalChange
Namespace Prefix: | now_
Data Type: | dtr-types:percentItemType
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 No definition available. + Details
Name: | us-gaap_DebtConversionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying amount of the equity component of convertible debt which may be settled in cash upon conversion. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Face (par) amount of the original debt instrument that was repurchased. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentRepurchasedFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123467658&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123467658&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDebtIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of shares issued during the period upon the conversion of units. An example of a convertible unit is an umbrella partnership real estate investment trust unit (UPREIT unit). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of stock bought back by the entity at the exercise price or redemption price. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644 + Details
Name: | us-gaap_StockRedeemedOrCalledDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=now_A2022WarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=now_StockPriceTriggerMeasurementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=now_NotesPriceTriggerMeasurementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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