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