XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.23.1

Restructuring Activities - Narrative (Details) - USD ($) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2023 | Mar. 31, 2022 | Feb. 13, 2023
Restructuring Cost and Reserve [Line Items] |  |  |
Employees elimination percentage |  |  | 17.00%
Restructuring charges | $ 121,942 | $ 0 |
Estimated remaining expenses related to restructuring | 20,000 |  |
Stock-based compensation - restructuring | 10,333 |  |
Employee Severance and Facilitation Costs |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |
Restructuring charges | 111,568 |  |
Stock-Based Awards |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |
Restructuring charges | $ 10,300 |  |

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

X
- Definition Amount of expected cost remaining for the specified restructuring cost. + References No definition available. + Details
Name: | us-gaap_RestructuringAndRelatedCostExpectedCostRemaining1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109237686&loc=d3e17752-110868 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140864-122747 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 https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + 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 No definition available. + Details
Name: | us-gaap_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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: |