XML 108 R93.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Stock-Based Compensation - 2016 Employee Stock Purchase Plan (Details) - ESPP - shares |  |  | 12 Months Ended |
--- | --- | --- | --- | ---
Jan. 01, 2023 | Jan. 01, 2022 | Dec. 31, 2023 | Jun. 22, 2016
Stock Based Compensation |  |  |  |
Maximum automatic annual increase (in shares) |  |  | 1,800,000 |
Maximum automatic annual increase as a percentage of outstanding common shares |  |  | 1.00% |
Increase in shares available for grant (in shares) | 1,800,000 | 1,800,000 |  |
Stock plan offering period |  |  | 6 months |
Common Stock Class A |  |  |  |
Stock Based Compensation |  |  |  |
Shares reserved for issuance (in shares) |  |  |  | 2,400,000
Discount from market price, offering date (as a percent) |  |  | 15.00% |
Purchase price, percentage of fair market value (as a percent) |  |  | 85.00% |

X
- Definition The maximum automatic annual increase in the number of shares (or other type of equity) approved for awards under the equity-based compensation plan, as a percentage of the outstanding shares of the entity's common stock at the end of the prior fiscal year. + References No definition available. + Details
Name: | twlo_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumAnnualIncreaseInAuthorizationPercentageOfOutstandingShares
Namespace Prefix: | twlo_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum automatic annual increase in the number of shares (or other type of equity) approved for awards under the equity-based compensation plan. + References No definition available. + Details
Name: | twlo_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumAnnualIncreaseInNumberOfSharesAuthorized
Namespace Prefix: | twlo_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-based Compensation Arrangement By Share-based Payment Award, Stock Plan Offering Period + References No definition available. + Details
Name: | twlo_ShareBasedCompensationArrangementByShareBasedPaymentAwardStockPlanOfferingPeriod
Namespace Prefix: | twlo_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalGeneralDisclosuresAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discount rate from fair value on offering date that participants pay for shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Purchase price of common stock expressed as a percentage of its fair value. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |