XML 117 R102.htm IDEA: XBRL DOCUMENT v3.24.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, 2023
Dec. 31, 2022
Dec. 31, 2021
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities (in shares) 21,381,913 19,076,899 10,904,377
Stock options issued and outstanding      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities (in shares) 1,722,861 2,277,379 3,351,313
Unvested restricted stock units issued and outstanding      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities (in shares) 18,755,538 15,414,997 6,475,700
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) 442,041 530,449 618,857
Shares of Class A common stock committed under ESPP      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities (in shares) 426,199 766,334 147,947
Shares of Class A common stock in escrow      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities (in shares) 31,503 31,503 75,506
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) 3,771 56,237 235,054