XML 120 R102.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Net Loss Per Share Attributable to Common Stockholders - Common Stock Equivalents excluded from Calculation of Diluted Net Loss Per Share attributable to Common Stockholders (Details) - shares | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |
Antidilutive securities (in shares) | 20,327,778 | 21,381,913 | 19,076,899
Stock options issued and outstanding |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |
Antidilutive securities (in shares) | 1,322,176 | 1,722,861 | 2,277,379
Unvested restricted stock units issued and outstanding |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |
Antidilutive securities (in shares) | 18,386,271 | 18,755,538 | 15,414,997
Shares of Class A common stock reserved for Twilio.org |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |
Antidilutive securities (in shares) | 353,633 | 442,041 | 530,449
Shares of Class A common stock committed under ESPP |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |
Antidilutive securities (in shares) | 265,698 | 426,199 | 766,334
Shares of Class A common stock in escrow |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |
Antidilutive securities (in shares) | 0 | 31,503 | 31,503
Shares of Class A common stock in escrow and restricted stock awards subject to future vesting |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |
Antidilutive securities (in shares) | 0 | 3,771 | 56,237

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
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_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=twlo_EmployeeAndNonemployeeStockOptionIncludingPerformanceBasedOptionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=twlo_DonorAdvisedFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=twlo_ClassACommonStockHeldInEscrowMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=twlo_ClassACommonStockAndRestrictedStockSubjectToFutureVestingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |