XML 78 R63.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Restructuring Activities - Narrative (Details) - USD ($) $ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
Feb. 28, 2023 | Sep. 30, 2022 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  |  | $ 165,733 | $ 76,636 | $ 0
Stock-based compensation award expense |  |  | 11,100 |  |
February 2023 Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Workforce elimination percentage | 17.00% |  |  |  |
Restructuring charges |  |  | $ 141,100 |  |
February 2023 Plan | Corporate costs |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges | $ 22,800 |  |  |  |
February 2023 Plan | Twilio Communications | Operating Segments |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges | 108,900 |  |  |  |
February 2023 Plan | Segment | Operating Segments |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges | $ 9,400 |  |  |  |
December 2023 Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Workforce elimination percentage |  |  | 5.00% |  |
September 2022 Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Workforce elimination percentage |  | 11.00% |  |  |
Restructuring charges |  |  |  | 76,600 |
September 2022 Plan | Corporate costs |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  | $ 7,600 |  |  |
September 2022 Plan | Twilio Communications | Operating Segments |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  | 67,400 |  |  |
September 2022 Plan | Segment | Operating Segments |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  | $ 1,600 |  |  |
Employee Severance and Facilitation Costs | February 2023 Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  |  | $ 130,000 |  |
Employee Severance and Facilitation Costs | September 2022 Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  |  |  | 62,361 |
Stock-Based Awards | February 2023 Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  |  | $ 11,100 |  |
Stock-Based Awards | September 2022 Plan |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Restructuring charges |  |  |  | $ 14,300 |

X
- Definition APIC, Share-Based Payment Arrangement, Increase for Cost Recognition, Restructuring, Net + References No definition available. + Details
Name: | twlo_APICShareBasedPaymentArrangementIncreaseForCostRecognitionRestructuringNet
Namespace Prefix: | twlo_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of the total number of positions eliminated as of the balance sheet date since inception of the restructuring plan(s). + References No definition available. + Details
Name: | us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminatedInceptionToDatePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + 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://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482047/420-10-45-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-1 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(d)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 + Details
Name: | us-gaap_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringPlanAxis=twlo_February2023PlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_CorporateNonSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=twlo_CommunicationsSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=twlo_TwilioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=twlo_December2023PlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=twlo_September2022PlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=twlo_EmployeeSeveranceAndFacilitationCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=twlo_StockBasedAwardsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |