7Baggers

Twilio Inc
(NYSE:TWLO) 

TWLO stock logo

Twilio Inc., together with its subsidiaries, provides a cloud communications platform that enables developers to build, scale, and operate customer engagement within software applications in the United States and internationally. Its customer engagement platform provides a set of application program...

Founded: 2008
Full Time Employees: 8,156 (Dec 2022)
CEO / Co-Founder: Jeff Lawson 
Sector: Communication Services
Industry: Internet Content & Information
blind

Share this website to your friends
• Market Cap:
• Exchange:
• Shs Outstanding:
• Employees:
• Beta:
• Return on Equity (ROE) ttm:
• Return on Assets (ROA) ttm:
• EPS ttm:
• Book value per Share:
• Cash per Share:
• Current ast per Share:
• P/E ttm:
• P/E forward:
• P/E ttm high:
• P/E ttm low:
• P/S ttm:
• P/B ttm:
• P/FCF ttm:
• PEG ratio:
• Cash Ratio ttm:
• Quick Ratio ttm:
• Current Ratio ttm:
• Gross Mgn ttm:
• EBITDA Mgn ttm:
• Operating Mgn ttm:
• Net Income Mgn ttm:
• Trailing Div yield:
• Forward Div yield:
• Payout Ratio ttm:
• Ex-Dividend date:
• Target Price High:
• Target Price Low:
• Target Price Mean:
• Number of Analysts:
• Debt Ratio ttm:
• Debt to Equity ttm:
• Total Net Debt:
At a glance:
Bull Thesis:
Bear Thesis:
Main Competitors:
Moat:
Income Statements:
Quarterly
Annual
    Unit: USD2026-03-31 2025-12-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-09-30 2018-06-30 2018-03-31 2017-09-30 2017-06-30 2017-03-31 2016-06-30 
                                        
      revenue
    1,406,907,000 1,365,930,000 1,300,402,000 1,228,425,000 1,172,463,000 1,194,835,000 1,133,649,000 1,082,502,000 1,047,050,000 1,075,950,000 1,033,670,000 1,037,761,000 1,006,564,000 1,024,574,000 983,030,000 943,354,000 875,363,000 842,744,000 740,176,000 668,931,000 589,988,000 548,090,000 447,969,000 400,849,000 364,868,000 331,224,000 295,066,000 275,039,000 233,139,000 168,895,000 147,754,000 129,116,000 100,542,000 95,870,000 87,372,000 64,510,000 
      yoy
    20.00% 14.32% 14.71% 13.48% 11.98% 11.05% 9.67% 4.31% 4.02% 5.01% 5.15% 10.01% 14.99% 21.58% 32.81% 41.02% 48.37% 53.76% 65.23% 66.88% 61.70% 65.47% 51.82% 45.74% 56.50% 96.11% 99.70% 113.02% 131.88% 76.17% 69.11% 100.15%     
      qoq
    3.00% 5.04% 5.86% 4.77% -1.87% 5.40% 4.72% 3.39% -2.69% 4.09% -0.39% 3.10% -1.76% 4.23% 4.21% 7.77% 3.87% 13.86% 10.65% 13.38% 7.64% 22.35% 11.76% 9.86% 10.16% 12.25% 7.28% 17.97% 38.04% 14.31% 14.44% 28.42% 4.87% 9.73% 35.44%  
      cost of revenue
    722,663,000 703,580,000 668,325,000 625,685,000 590,896,000 595,138,000 555,020,000 526,657,000 503,009,000 544,784,000 517,351,000 532,006,000 515,874,000 543,432,000 520,955,000 498,065,000 450,292,000 446,197,000 375,561,000 337,684,000 291,684,000 265,969,000 217,095,000 191,718,000 171,333,000 156,534,000 136,904,000 125,024,000 107,089,000 77,031,000 67,940,000 59,582,000 48,254,000 42,333,000 37,286,000 28,203,000 
      gross profit
    684,244,000 662,350,000 632,077,000 602,740,000 581,567,000 599,697,000 578,629,000 555,845,000 544,041,000 531,166,000 516,319,000 505,755,000 490,690,000 481,142,000 462,075,000 445,289,000 425,071,000 396,547,000 364,615,000 331,247,000 298,304,000 282,121,000 230,874,000 209,131,000 193,535,000 174,690,000 158,162,000 150,015,000 126,050,000 91,864,000 79,814,000 69,534,000 52,288,000 53,537,000 50,086,000 36,307,000 
      yoy
    17.66% 10.45% 9.24% 8.44% 6.90% 12.90% 12.07% 9.90% 10.87% 10.40% 11.74% 13.58% 15.44% 21.33% 26.73% 34.43% 42.50% 40.56% 57.93% 58.39% 54.13% 61.50% 45.97% 39.41% 53.54% 90.16% 98.16% 115.74% 141.07% 71.59% 59.35% 91.52%     
      qoq
    3.31% 4.79% 4.87% 3.64% -3.02% 3.64% 4.10% 2.17% 2.42% 2.88% 2.09% 3.07% 1.98% 4.13% 3.77% 4.76% 7.19% 8.76% 10.07% 11.04% 5.74% 22.20% 10.40% 8.06% 10.79% 10.45% 5.43% 19.01% 37.21% 15.10% 14.78% 32.98% -2.33% 6.89% 37.95%  
      gross margin %
    48.63% 48.49% 48.61% 49.07% 49.60% 50.19% 51.04% 51.35% 51.96% 49.37% 49.95% 48.74% 48.75% 46.96% 47.01% 47.20% 48.56% 47.05% 49.26% 49.52% 50.56% 51.47% 51.54% 52.17% 53.04% 52.74% 53.60% 54.54% 54.07% 54.39% 54.02% 53.85% 52.01% 55.84% 57.33% 56.28% 
      operating expenses:
                                        
      research and development
    262,166,000 260,058,000 262,311,000 243,495,000 254,295,000 252,577,000 260,903,000 243,652,000 251,615,000 235,645,000 241,654,000 226,896,000 238,595,000 274,094,000 284,735,000 279,641,000 240,611,000 223,249,000 209,890,000 181,280,000 174,800,000 158,856,000 136,652,000 120,701,000 114,339,000 110,236,000 104,481,000 98,783,000 77,855,000 42,340,000 39,811,000 37,576,000 31,674,000 29,714,000 26,522,000 17,369,000 
      sales and marketing
    211,866,000 219,752,000 220,627,000 220,724,000 212,113,000 216,671,000 212,576,000 217,556,000 214,018,000 238,602,000 262,898,000 261,600,000 259,885,000 296,335,000 328,833,000 334,958,000 287,906,000 331,422,000 264,548,000 238,058,000 210,590,000 179,987,000 140,875,000 129,823,000 116,722,000 106,394,000 100,657,000 90,421,000 71,607,000 45,949,000 37,749,000 32,822,000 25,778,000 26,153,000 21,116,000 18,156,000 
      general and administrative
    102,546,000 108,878,000 108,191,000 101,532,000 92,077,000 116,779,000 106,350,000 113,984,000 111,966,000 106,968,000 114,071,000 134,852,000 112,568,000 125,095,000 135,331,000 142,626,000 114,362,000 125,502,000 122,522,000 114,183,000 110,253,000 128,569,000 65,617,000 61,251,000 55,170,000 51,859,000 47,690,000 54,543,000 64,176,000 28,608,000 24,212,000 23,393,000 18,867,000 4,740,000 17,203,000 11,635,000 
      total operating expenses
    576,578,000 605,567,000 591,129,000 565,751,000 558,485,000 585,970,000 583,523,000 574,882,000 587,545,000 892,893,000 625,222,000 647,582,000 754,774,000 699,709,000 919,072,000 757,225,000 642,879,000 680,173,000 596,960,000 533,521,000 495,643,000 467,412,000 343,144,000 311,775,000 286,231,000 268,489,000 252,828,000 243,747,000 213,638,000 116,897,000 101,772,000 93,791,000 76,319,000 60,607,000 64,841,000 47,160,000 
      income from operations
    107,666,000 56,783,000 40,948,000 36,989,000 23,082,000 13,727,000 -4,894,000 -19,037,000 -43,504,000 -361,727,000 -108,903,000 -141,827,000 -264,084,000 -218,567,000 -456,997,000 -311,936,000 -217,808,000 -283,626,000 -232,345,000 -202,274,000 -197,339,000 -185,291,000 -112,270,000 -102,644,000 -92,696,000 -93,799,000 -94,666,000 -93,732,000 -87,588,000        
      yoy
    366.45% 313.66% -936.70% -294.30% -153.06% -103.79% -95.51% -86.58% -83.53% 65.50% -76.17% -54.53% 21.25% -22.94% 96.69% 54.21% 10.37% 53.07% 106.95% 97.06% 112.89% 97.54% 18.60% 9.51% 5.83%            
      qoq
    89.61% 38.67% 10.70% 60.25% 68.15% -380.49% -74.29% -56.24% -87.97% 232.16% -23.21% -46.29% 20.83% -52.17% 46.50% 43.22% -23.21% 22.07% 14.87% 2.50% 6.50% 65.04% 9.38% 10.73% -1.18% -0.92% 1.00% 7.01%         
      operating margin %
    7.65% 4.16% 3.15% 3.01% 1.97% 1.15% -0.43% -1.76% -4.15% -33.62% -10.54% -13.67% -26.24% -21.33% -46.49% -33.07% -24.88% -33.66% -31.39% -30.24% -33.45% -33.81% -25.06% -25.61% -25.41% -28.32% -32.08% -34.08% -37.57% 0% 0% 0% 0% 0% 0% 0% 
      other (expenses) income, net:
                                        
      share of losses from equity method investment
    -27,223,000 -29,018,000 -27,506,000 -25,222,000 -19,471,000 -29,687,000 -25,279,000 -23,940,000 -29,575,000 -28,059,000 -31,058,000 -32,361,000 -30,419,000 -21,939,000 -13,376,000                      
      other income
    21,789,000 15,098,000 19,242,000 21,825,000 22,973,000 18,161,000 27,325,000 17,401,000 27,918,000                 4,708,000 4,377,000      1,000,000    
      total other (expenses) income
    -5,434,000 -2,039,750 -8,264,000 -3,397,000                                 
      income before provision for income taxes
    102,232,000   33,592,000 26,584,000 -13,558,000 -3,651,000 -26,243,000 -45,161,000 -359,654,000 -139,960,000         -226,567,000 -205,652,000     -89,091,000 -90,289,000 -94,612,000         
      provision for income taxes
    -12,093,000   -11,169,000 -6,567,000 1,088,000 -6,075,000 -5,615,000 -10,188,000 -5,754,000 -1,747,000         -1,286,000 -890,000                
      net income attributable to common stockholders
    90,139,000 -45,854,000 37,248,000 22,423,000 20,017,000 -12,470,000 -9,726,000 -31,858,000 -55,349,000 -365,408,000 -141,707,000 -166,187,000 -342,139,000 -229,422,000 -482,327,000 -322,769,000 -221,627,000 -291,396,000 -224,109,000 -227,853,000 -206,542,000 -179,351,000 -116,914,000 -99,923,000 -94,791,000 -90,247,000 -87,734,000 -92,579,000 -36,503,000 -27,056,000 -24,006,000 -23,729,000 -23,453,000 -7,109,000 -14,227,000 -10,994,000 
      yoy
    350.31% 267.71% -482.97% -170.38% -136.17% -96.59% -93.14% -80.83% -83.82% 59.27% -70.62% -48.51% 54.38% -21.27% 115.22% 41.66% 7.30% 62.47% 91.69% 128.03% 117.89% 98.73% 33.26% 7.93% 159.68% 233.56% 265.47% 290.15% 55.64% 280.59% 68.74% 115.84%     
      qoq
    -296.58% -223.10% 66.12% 12.02% -260.52% 28.21% -69.47% -42.44% -84.85% 157.86% -14.73% -51.43% 49.13% -52.43% 49.43% 45.64% -23.94% 30.02% -1.64% 10.32% 15.16% 53.40% 17.00% 5.41% 5.04% 2.86% -5.23% 153.62% 34.92% 12.71% 1.17% 1.18% 229.91% -50.03% 29.41%  
      net income margin %
    6.41% -3.36% 2.86% 1.83% 1.71% -1.04% -0.86% -2.94% -5.29% -33.96% -13.71% -16.01% -33.99% -22.39% -49.07% -34.22% -25.32% -34.58% -30.28% -34.06% -35.01% -32.72% -26.10% -24.93% -25.98% -27.25% -29.73% -33.66% -15.66% -16.02% -16.25% -18.38% -23.33% -7.42% -16.28% -17.04% 
      net income per share
         -0.09 -0.06 -0.19 -0.31 -2 -0.78 -0.91 -1.84 -1.23 -2.63 -1.77 -1.23 -1.63 -1.26 -1.31 -1.24 -1.17 -0.79 -0.71 -0.68 -0.66 -0.64 -0.72 -0.31 -0.28 -0.25 -0.25 -0.25 -0.08 -0.16 -0.45 
      basic
    0.59 -0.3 0.24 0.15 0.13                                
      diluted
    0.57 -0.29 0.23 0.14 0.12                                
      weighted-average shares used for eps calculation
         165,925,128 159,091,110 170,222,104 181,017,726 183,327,844 181,749,309 183,490,982 186,403,349 182,994,038 183,692,564 182,347,864 180,898,713 174,180,465 177,231,285 173,407,187 167,160,458 146,708,663 147,501,075 141,618,541 139,231,594 130,083,046 136,400,739 129,310,641 116,590,513 98,019,629 96,348,356 94,673,557 92,156,768 90,873,305 88,612,804 24,261,903 
      basic
    152,424,306 152,986,390 153,119,639 153,228,766 153,345,192                                
      diluted
    157,759,141 159,788,944 159,209,951 159,691,758 161,794,287                                
      income before benefit from income taxes
     23,215,000 32,684,000                                  
      benefit from income taxes
     -3,293,000 4,564,000         -744,000 -10,467,000 -9,197,000 -3,580,000 -2,594,000 2,858,000                    
      other income (expenses), net:
                                        
      total other income (expenses)
        3,502,000 -1,905,000 1,243,000                              
      restructuring costs
         -57,000 3,694,000 -310,000 9,946,000 25,452,000 3,437,000 14,902,000 121,942,000 4,185,000 72,451,000                      
      impairment of long-lived assets
             286,226,000 3,162,000 9,332,000 21,784,000  97,722,000                      
      impairment of strategic investments
         -6,750,000 -803,000 -667,000     -46,154,000                        
      net income per share
         -0.09 -0.06 -0.19 -0.31 -2 -0.78 -0.91 -1.84 -1.23 -2.63 -1.77 -1.23 -1.63 -1.26 -1.31 -1.24 -1.17 -0.79 -0.71 -0.68 -0.66 -0.64 -0.72 -0.31 -0.28 -0.25 -0.25 -0.25 -0.08 -0.16 -0.45 
      weighted-average shares used for eps calculation
         165,925,128 159,091,110 170,222,104 181,017,726 183,327,844 181,749,309 183,490,982 186,403,349 182,994,038 183,692,564 182,347,864 180,898,713 174,180,465 177,231,285 173,407,187 167,160,458 146,708,663 147,501,075 141,618,541 139,231,594 130,083,046 136,400,739 129,310,641 116,590,513 98,019,629 96,348,356 94,673,557 92,156,768 90,873,305 88,612,804 24,261,903 
      other expenses, net:
                                        
      total other expenses
           -7,206,000 -1,657,000 2,073,000 -31,057,000 -23,616,000 -67,588,000 -1,658,000 -21,750,000                      
      other income (expenses)
             30,132,000 1,000 8,745,000 8,985,000           3,015,000        665,000  471,000 498,000  
      loss before benefit from income taxes
               -165,443,000 -331,672,000 -220,225,000 -478,747,000 -320,175,000 -224,485,000                    
      other
                 -5,822,500 -8,374,000                      
      other expenses
                   -8,239,000 -6,677,000 -9,804,750 -6,613,000  -8,313,000    -1,118,000   -880,000         
      loss before benefit for income taxes
                     -289,752,000 -238,958,000   -194,717,000 -116,266,000 -99,629,000 -93,814,000    -88,224,000        
      benefit for income taxes
                     -1,644,000 14,849,000   -479,750 -648,000 -294,000 -977,000    51,721,000      30,000  
      other (expenses) income
                       -24,293,000  -524,750 -3,996,000      -636,000        
      income tax benefit
                             -1,156,000 2,555,000 2,033,000         
      (provision) benefit for income taxes
                                        
      income before benefit for income taxes
                                        
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2026-03-31 2025-12-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-09-30 2018-06-30 2018-03-31 2017-09-30 2017-06-30 2017-03-31 2016-09-30 2016-06-30 
                                           
        assets
                                           
        current assets:
                                           
        cash and cash equivalents
      541,976,000 682,335,000 734,843,000 969,229,000 467,094,000 421,297,000 583,969,000 755,065,000 672,595,000 655,931,000 677,917,000 675,081,000 634,824,000 651,752,000 632,794,000 798,625,000 1,617,022,000 1,479,452,000 1,497,498,000 1,799,602,000 2,331,774,000 933,885,000 1,127,102,000 475,700,000 345,518,000 253,660,000 330,601,000 535,911,000 377,730,000 469,132,000 493,510,000 117,737,000 91,906,000 92,184,000 118,440,000 252,225,000 261,386,000 
        short-term marketable securities
      1,804,286,000 1,788,007,000 1,724,068,000 1,573,371,000 1,980,983,000 1,963,102,000 2,114,279,000 2,361,063,000 3,154,005,000 3,356,064,000 3,179,492,000 3,008,887,000 3,310,483,000 3,503,317,000 3,575,751,000 3,593,659,000 3,606,290,000 3,878,430,000 3,896,754,000 4,125,583,000 3,375,284,000 2,105,906,000 2,171,602,000 1,427,619,000 1,497,869,000 1,599,033,000 1,551,175,000 1,346,371,000 541,167,000 276,221,000 301,136,000 190,271,000 192,031,000 197,031,000 170,086,000   
        accounts receivable
      710,516,000 636,736,000 613,120,000 587,966,000 577,624,000 588,540,000 550,901,000 537,313,000 540,932,000 562,773,000 557,201,000 599,806,000 575,664,000 547,507,000 487,750,000 471,915,000 406,736,000 388,215,000 345,793,000 301,548,000 257,854,000 251,167,000 203,835,000 194,563,000 172,865,000 154,067,000 131,193,000 126,780,000 105,149,000 80,159,000 67,572,000 57,310,000 37,258,000 37,321,000 29,959,000 29,352,000 22,981,000 
        prepaid expenses and other current assets
      390,041,000 469,650,000 405,295,000 401,071,000 442,155,000 474,360,000 299,173,000 310,260,000 310,063,000 329,204,000 326,968,000 315,059,000 335,565,000 281,510,000 265,977,000 240,192,000 201,142,000 186,131,000 165,760,000 146,955,000 129,063,000 81,377,000 66,481,000 62,800,000 61,405,000 54,571,000 55,455,000 50,451,000 39,081,000 25,237,000 21,812,000 16,791,000 26,420,000 19,108,000 23,229,000 18,266,000 16,799,000 
        total current assets
      3,446,819,000 3,576,728,000 3,477,326,000 3,531,637,000 3,467,856,000 3,447,299,000 3,548,322,000 3,963,701,000 4,677,595,000 4,903,972,000 4,741,578,000 4,664,500,000 4,856,536,000 4,984,086,000 4,962,272,000 5,104,391,000 5,831,190,000 5,932,228,000 5,905,805,000 6,373,688,000 6,093,975,000 3,372,335,000 3,569,020,000 2,160,682,000 2,077,657,000 2,061,331,000 2,068,424,000 2,059,513,000 1,063,127,000 850,749,000 884,030,000 382,109,000 347,615,000 345,644,000 341,714,000 299,843,000 301,166,000 
        property and equipment
      181,388,000 176,963,000 175,702,000 177,957,000 183,613,000 191,042,000 194,677,000 198,562,000 201,273,000 209,639,000 222,257,000 235,392,000 254,062,000 263,979,000 263,862,000 264,767,000 259,003,000 255,316,000 237,241,000 206,354,000 195,885,000 183,239,000 173,279,000 161,413,000 150,944,000 141,256,000 118,481,000 106,480,000 105,158,000 59,205,000 56,721,000 53,694,000 47,718,000 44,083,000 40,931,000 25,975,000 20,544,000 
        operating right-of-use assets
      29,561,000 39,031,000 46,944,000 53,174,000 48,914,000 53,405,000 58,509,000 63,898,000 68,887,000 73,959,000 79,126,000 86,193,000 103,532,000 121,341,000 127,567,000 213,464,000 225,951,000 234,584,000                    
        equity method investment
      275,093,000 301,642,000 413,030,000 439,011,000 464,580,000 485,835,000 514,977,000 541,120,000 568,145,000 593,582,000 623,118,000 656,940,000 684,144,000 699,911,000 732,490,000 750,000,000                      
        intangible assets
      125,399,000 142,065,000 157,353,000 184,260,000 211,315,000 238,503,000 265,841,000 293,328,000 321,501,000 350,490,000 678,721,000 727,644,000 797,699,000 849,935,000 901,155,000 953,522,000 1,006,692,000 1,050,012,000 1,102,599,000 913,308,000 951,884,000 966,573,000 404,422,000 424,739,000 445,153,000 460,849,000 465,255,000 485,410,000 503,947,000 29,784,000 17,108,000 18,981,000 21,274,000 22,324,000 22,756,000 2,560,000 2,604,000 
        goodwill
      5,292,457,000 5,291,787,000 5,243,266,000 5,243,266,000 5,243,266,000 5,243,266,000 5,243,266,000 5,243,266,000 5,243,266,000 5,243,266,000 5,243,266,000 5,243,266,000 5,284,388,000 5,284,153,000 5,284,616,000 5,285,563,000 5,286,683,000 5,263,166,000 5,263,051,000 4,664,185,000 4,635,177,000 4,595,394,000 2,291,616,000 2,291,616,000 2,291,637,000 2,296,784,000 2,283,387,000 2,283,578,000 2,277,220,000 37,106,000 17,506,000 18,269,000 17,407,000 16,950,000 16,183,000 3,165,000 3,165,000 
        other long-term assets
      226,088,000 242,674,000 198,698,000 218,987,000 195,171,000 206,122,000 211,665,000 203,777,000 208,622,000 234,799,000 269,672,000 290,551,000 318,547,000 360,899,000 340,694,000 297,522,000 281,283,000 263,292,000 219,569,000 142,601,000 123,932,000 111,282,000 92,637,000 55,472,000 41,435,000 33,480,000 26,477,000 21,316,000 13,009,000 6,771,000 4,978,000 4,240,000 2,084,000 1,498,000 735,000 410,000 461,000 
        total assets
      9,576,805,000 9,770,890,000 9,712,319,000 9,848,292,000 9,814,715,000 9,865,472,000 10,037,257,000 10,507,652,000 11,289,289,000 11,609,707,000 11,857,738,000 11,904,486,000 12,298,908,000 12,564,304,000 12,612,656,000 12,869,229,000 12,890,802,000 12,998,598,000 12,976,847,000 12,533,585,000 12,242,181,000 9,487,433,000 6,723,702,000 5,290,569,000 5,166,265,000 5,150,516,000 5,110,168,000 5,109,105,000 4,120,073,000 1,003,797,000 985,848,000 482,795,000 443,548,000 437,947,000 429,766,000 340,566,000 336,551,000 
        liabilities and stockholders’ equity
                                           
        current liabilities:
                                           
        accounts payable
      91,706,000 85,089,000 40,321,000 76,181,000 107,707,000 100,169,000 71,320,000 61,831,000 82,194,000 119,615,000 104,424,000 93,500,000 121,157,000 124,605,000 103,234,000 102,039,000 93,389,000 93,333,000 76,293,000 105,998,000 66,511,000 60,042,000 39,880,000 27,531,000 18,450,000 39,099,000 25,949,000 29,361,000 22,418,000 12,842,000 23,765,000 17,924,000 7,117,000 4,267,000 6,233,000 6,217,000 8,720,000 
        accrued expenses and other current liabilities
      456,931,000 608,119,000 507,815,000 461,527,000 432,300,000 530,686,000 452,343,000 467,472,000 442,133,000 424,311,000 423,812,000 448,705,000 475,871,000 490,221,000 572,876,000 504,810,000 433,668,000 417,503,000 368,683,000 331,804,000 293,658,000 243,833,000 205,822,000 197,303,000 195,393,000 147,681,000 135,544,000 117,625,000 107,295,000 93,894,000 82,171,000 76,595,000 55,283,000 50,551,000 62,259,000 50,541,000 42,140,000 
        deferred revenue and customer deposits
      159,569,000 158,677,000 159,165,000 148,009,000 154,047,000 155,680,000 138,752,000 138,745,000 142,372,000 144,499,000 145,955,000 139,434,000 136,517,000 139,110,000 135,610,000 137,728,000 139,671,000 140,389,000 121,337,000 98,723,000 93,516,000 87,031,000 33,916,000 29,111,000 26,706,000 26,362,000 26,015,000 24,898,000 23,348,000         
        operating lease liability, current
      32,119,000 35,123,000 34,987,000 34,342,000 31,886,000 33,685,000 38,322,000 43,451,000 47,904,000 49,872,000 51,926,000 53,089,000 54,904,000 54,222,000 52,453,000 50,743,000 53,094,000 52,325,000 50,760,000 46,760,000 46,239,000 48,338,000 37,867,000 35,287,000 29,949,000 27,156,000 22,211,000 21,858,000 21,147,000         
        total current liabilities
      740,325,000 887,008,000 742,288,000 720,059,000 725,940,000 820,220,000 700,737,000 711,499,000 714,603,000 738,297,000 726,117,000 759,803,000 788,449,000 808,158,000 864,173,000 795,320,000 719,822,000 703,550,000 617,073,000 583,285,000 499,924,000 448,306,000 326,347,000 296,366,000 277,037,000 247,222,000 216,228,000 201,781,000 182,339,000 125,427,000 122,835,000 109,304,000 75,999,000 67,401,000 79,600,000 66,250,000 59,567,000 
        operating lease liability, noncurrent
      43,290,000 54,162,000 68,000,000 76,819,000 78,048,000 85,875,000 94,762,000 102,562,000 110,267,000 120,770,000 133,881,000 146,301,000 162,114,000 164,551,000 176,336,000 189,068,000 201,354,000 211,253,000 223,033,000 205,997,000 214,456,000 229,905,000 166,399,000 172,408,000 140,120,000 139,200,000 134,755,000 138,819,000 143,950,000         
        long-term debt
      992,722,000 992,287,000 991,856,000 991,429,000 991,006,000 990,587,000 990,173,000 989,762,000 989,356,000 988,953,000 988,555,000 988,160,000 987,769,000 987,382,000 986,985,000 986,619,000 986,243,000 985,907,000 985,547,000 985,219,000 1,218,048,000                 
        other long-term liabilities
      16,384,000 15,887,000 14,886,000 16,063,000 15,430,000 15,824,000 22,718,000 19,392,000 20,373,000 19,944,000 18,298,000 19,194,000 23,878,000 23,881,000 29,432,000 37,292,000 43,897,000 41,290,000 49,191,000 47,168,000 42,624,000 36,633,000 19,957,000 19,544,000 20,966,000 17,747,000 14,341,000 15,479,000 14,037,000 15,239,000 10,243,000    12,306,000 10,042,000 9,751,000 
        total liabilities
      1,792,721,000 1,949,344,000 1,817,030,000 1,804,370,000 1,810,424,000 1,912,506,000 1,808,390,000 1,828,179,000 1,841,559,000 1,877,155,000 1,878,357,000 1,927,927,000 1,980,042,000 2,005,262,000 2,081,768,000 2,027,234,000 1,973,369,000 1,967,132,000 1,895,098,000 1,839,473,000 1,994,985,000 1,034,768,000 961,434,000 968,979,000 909,740,000 871,105,000 825,682,000 812,245,000 792,560,000 569,444,000 556,177,000 120,255,000 88,548,000 79,839,000 91,906,000 76,292,000 69,318,000 
        commitments and contingencies
                                           
        stockholders’ equity:
                                           
        preferred stock
                                           
        class a common stock
      152,000  152,000 154,000 153,000  155,000 164,000 177,000                             
        additional paid-in capital
      16,294,528,000 16,148,190,000 15,971,163,000 15,805,141,000 15,625,545,000 15,476,124,000 15,299,179,000 15,136,786,000 14,960,837,000 14,797,723,000 14,610,887,000 14,418,946,000 14,233,590,000 14,055,853,000 13,842,301,000 13,623,300,000 13,343,554,000 13,169,118,000 12,910,271,000 12,297,415,000 11,618,698,000 9,613,246,000 6,741,973,000 5,181,368,000 5,034,278,000 4,952,999,000 4,868,261,000 4,794,177,000 3,733,241,000 757,392,000 725,073,000 633,460,000 584,390,000 564,795,000 538,917,000 438,311,000 430,016,000 
        accumulated other comprehensive income
      -4,317,000 15,668,000 22,606,000 24,716,000 10,358,000 -1,301,000 24,395,000 -10,671,000 -4,941,000 619,000        -18,141,000 -405,000 707,000 4,660,000 9,046,000 10,585,000 13,606,000 -4,289,000 5,086,000 4,578,000 3,303,000 2,323,000 1,380,000 1,962,000 2,439,000 2,036,000 1,287,000    
        accumulated deficit
      -8,506,279,000 -8,342,464,000 -8,098,632,000 -7,786,089,000 -7,631,765,000 -7,522,010,000 -7,094,862,000 -6,446,806,000 -5,508,343,000 -5,065,972,000 -4,578,962,000 -4,382,293,000 -3,842,965,000 -3,375,836,000 -3,146,414,000 -2,664,087,000 -2,341,318,000 -2,119,691,000 -1,828,295,000 -1,604,186,000 -1,376,333,000 -1,169,791,000 -990,440,000 -873,526,000 -773,603,000 -678,812,000 -588,490,000 -500,756,000 -408,177,000         
        total stockholders’ equity
      7,784,084,000 7,821,546,000 7,895,289,000 8,043,922,000 8,004,291,000 7,952,966,000 8,228,867,000 8,679,473,000 9,447,730,000 9,732,552,000 9,979,381,000 9,976,559,000 10,318,866,000 10,559,042,000 10,530,888,000 10,841,995,000 10,917,433,000 11,031,466,000 11,081,749,000 10,694,112,000 10,247,196,000 8,452,665,000 5,762,268,000 4,321,590,000 4,256,525,000 4,279,411,000 4,284,486,000 4,296,860,000 3,327,513,000 434,353,000 429,671,000 362,540,000 355,000,000 358,108,000 337,860,000 264,274,000 267,233,000 
        total liabilities and stockholders’ equity
      9,576,805,000 9,770,890,000 9,712,319,000 9,848,292,000 9,814,715,000 9,865,472,000 10,037,257,000 10,507,652,000 11,289,289,000 11,609,707,000 11,857,738,000 11,904,486,000 12,298,908,000 12,564,304,000 12,612,656,000 12,869,229,000 12,890,802,000 12,998,598,000 12,976,847,000 12,533,585,000 12,242,181,000 9,487,433,000 6,723,702,000 5,290,569,000 5,166,265,000 5,150,516,000 5,110,168,000 5,109,105,000 4,120,073,000 1,003,797,000 985,848,000 482,795,000 443,548,000 437,947,000 429,766,000 340,566,000 336,551,000 
        preferred stock, 0.001 par value...
                                           
        class a common stock, 0.001 par value per share...
                                           
        authorized shares 1,000,000,000 as of december 31, 2025 and 2024; issued and outstanding shares 152,411,346 and 152,610,697 as of december 31, 2025 and 2024
       152,000                                    
        liabilities and stockholders' equity
                                           
        stockholders' equity:
                                           
        authorized shares 1,000,000,000 as of december 31, 2024 and 2023; issued and outstanding shares 152,610,697 and 181,945,771 as of december 31, 2024 and 2023
           153,000                                
        finance lease liability, noncurrent
             4,964,000 6,960,000 9,191,000 11,506,000 14,469,000 17,832,000 21,290,000 24,842,000 18,935,000 22,053,000 25,132,000 20,254,000 17,804,000 19,933,000 17,856,000 16,034,000 10,116,000 7,250,000 8,746,000            
        class a and class b common stock, 0.001 par value per share...
                                           
        authorized shares 1,003,170,181 and 1,100,000,000 as of december 31, 2023 and 2022; issued and outstanding shares 181,945,771 and 185,975,709 as of december 31, 2023 and 2022
               182,000                            
        class a and class b common
                182,000 181,000 186,000  184,000 183,000 181,000  178,000 176,000 171,000  150,000 142,000 139,000  137,000 136,000 126,000 97,000 96,000 95,000 93,000 92,000 90,000 85,000 85,000 
        accumulated other comprehensive loss
                -52,726,000 -60,275,000 -71,945,000 -121,161,000 -165,183,000 -117,401,000 -84,984,000                     
        assets held for sale
                 65,667,000                          
        liabilities held for sale
                 25,075,000                          
        authorized shares 1,100,000,000 as of december 31, 2022 and 2021; issued and outstanding shares 185,975,709 and 180,468,099 as of december 31, 2022 and 2021
                   186,000                        
        authorized shares 1,100,000,000 as of december 31, 2021 and 2020; issued and outstanding shares 180,468,099 and 164,047,524 as of december 31, 2021 and 2020
                       180,000                    
        operating right-of-use asset
                        248,582,000 233,449,000 241,328,000 258,610,000 192,728,000 196,647,000 159,439,000 156,741,000            
        finance lease liability, current
                           9,062,000 8,862,000 7,134,000 6,539,000 6,924,000            
        convertible senior notes
                           302,068,000 432,697,000 470,545,000 464,367,000 458,190,000 452,184,000 446,177,000 440,337,000 428,778,000 423,099,000       
        authorized shares 1,100,000,000 as of december 31, 2020 and 2019; issued and outstanding shares 164,047,524 and 138,412,799 as of december 31, 2020 and 2019
                           164,000                
        restricted cash
                               75,000 75,000 862,000 1,101,000 20,182,000 5,505,000 5,502,000 7,450,000 7,448,000 7,447,000 8,613,000 8,611,000 
        authorized shares 1,100,000,000 as of december 31, 2019 and 2018; issued and outstanding shares 138,412,799 and 100,080,228 as of december 31, 2019 and 2018
                               138,000            
        operating right of use asset
                                148,069,000 151,946,000 156,511,000         
        financing lease liability, current
                                6,509,000 5,920,000 6,044,000         
        financing lease liability, noncurrent
                                8,174,000 7,752,000 9,124,000         
        note payable, current
                                 2,119,000 2,087,000         
        note payable, noncurrent
                                 2,237,000 2,773,000         
        customer deposits
                                   8,483,000 7,843,000 7,442,000      
        deferred revenue
                                   10,208,000 9,056,000 7,343,000 13,599,000 12,583,000 11,108,000 9,492,000 8,707,000 
        long-term liabilities
                                     10,951,000 12,549,000 12,438,000    
        convertible preferred stock
                                           
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2026-03-31 2025-12-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-09-30 2018-06-30 2018-03-31 2017-09-30 2017-06-30 2017-03-31 
                                           
          cash flows from operating activities:
                                           
          net income
        90,139,000 -45,854,000 37,248,000 22,423,000 20,017,000                          -24,006,000 -23,729,000 -23,453,000 -7,109,000 -14,227,000 
          adjustments to reconcile net income to net cash from operating activities:
                                           
          depreciation and amortization
        34,167,000 47,543,000 48,498,000 49,838,000 49,565,000 49,814,000 50,787,000 52,065,000 53,318,000 65,445,000 72,580,000 74,995,000 71,393,000 71,247,000 70,136,000 69,641,000 68,103,000 68,709,000 70,264,000 59,813,000 59,592,000 51,590,000 33,298,000 32,533,000 32,239,000 31,135,000 29,685,000 28,362,000 21,248,000 6,854,000 5,761,000 5,631,000 4,926,000 4,525,000 3,955,000 
          non-cash reduction to the right-of-use asset
        4,715,000 5,366,000 6,118,000 5,346,000 5,170,000 4,938,000 4,093,000 4,988,000 5,076,000 5,156,000 5,741,000 7,500,000 8,574,000 8,491,000 13,130,000 13,124,000 12,415,000 12,537,000 13,049,000 11,489,000 11,711,000 11,155,000 9,436,000 9,781,000 8,023,000           
          net amortization of investment premium and discount
        -2,122,000 -2,659,000 -3,291,000 -3,868,000 -4,314,000 -4,840,000 -5,528,000 -6,543,000 -6,029,000 -4,447,000 -989,000 1,877,000 3,515,000 5,265,000 7,626,000 9,562,000 10,712,000 11,278,000 11,046,000 9,594,000 4,240,000 3,880,000    -338,000 -1,215,000 -1,589,000 -1,359,000       
          stock-based compensation
        136,511,000 153,714,000 158,169,000 149,251,000 139,273,000 155,783,000 154,561,000 147,657,000 158,606,000 166,490,000 185,474,000 153,094,000 170,799,000 192,300,000 208,894,000 242,091,000 155,275,000 186,919,000 164,043,000 144,168,000 137,155,000 123,114,000 89,410,000 79,387,000 69,025,000 66,986,000 68,268,000 70,740,000 58,324,000 22,741,000 21,006,000 17,540,000 14,188,000 12,400,000 9,385,000 
          amortization of deferred commissions
        17,139,000 17,638,000 18,508,000 19,122,000 19,265,000 19,364,000 19,196,000 18,959,000 18,829,000 18,464,000 18,361,000 18,202,000 17,865,000 16,591,000 15,246,000 13,450,000 12,626,000 10,743,000 8,404,000 6,764,000 5,630,000 4,766,000      915,000 670,000 407,000      
          unrealized losses on marketable equity securities
        -4,795,000                                   
          share of losses from equity method investment
        27,223,000 29,018,000 27,506,000 25,222,000 19,471,000 29,687,000 25,279,000 23,940,000 29,575,000 28,059,000 31,058,000 32,361,000 30,419,000 21,939,000                      
          other adjustments
        10,426,000 -2,664,000 -1,654,000 2,654,000 5,846,000 -2,664,000 -251,000 2,928,000 4,996,000 2,847,000 -1,453,000 -2,092,000 15,367,000 4,698,000 -9,720,000 11,405,000 -1,478,000 3,468,000 7,980,000 -2,443,000 3,089,000 -3,490,000 -3,844,000 2,505,000 4,352,000 3,695,000          
          changes in operating assets and liabilities:
                                           
          accounts receivable
        -74,869,000 -24,125,000 -27,830,000 -11,575,000 8,463,000 -48,514,000 -23,740,000 -4,543,000 15,637,000 -15,977,000 23,014,000 -56,915,000 -35,215,000 -73,302,000 -29,571,000 -72,159,000 -19,623,000 -36,757,000 -39,499,000 -47,252,000 5,565,000 -22,963,000 -10,574,000 -24,643,000 -23,123,000 -23,738,000 -5,096,000 -22,317,000 -206,000       
          prepaid expenses and other current assets
        75,414,000 -67,044,000 -7,066,000 51,143,000 33,519,000 -187,060,000 13,838,000 2,851,000 16,901,000 223,000 -11,390,000 6,322,000 -51,438,000 -13,255,000 -23,074,000 -43,821,000 -14,176,000 -18,083,000 -15,325,000 -14,692,000 -29,912,000 -2,903,000 3,268,000 -3,871,000 -8,130,000 427,000 -5,055,000 -6,209,000 -9,479,000   2,512,000    
          other long-term assets
        -3,175,000 -57,944,000 -12,839,000 -42,004,000 -9,416,000 -27,634,000 -21,839,000 -4,463,000 6,859,000 13,039,000 3,813,000 2,301,000 -21,481,000 -34,796,000 -59,141,000 -25,122,000 -27,399,000 -54,724,000 -27,383,000 -23,886,000 -15,232,000 -17,131,000 -45,003,000 -14,015,000 -5,759,000 -7,265,000 -4,787,000 -3,010,000 -2,959,000       
          accounts payable
        6,502,000 44,825,000 -35,475,000 -32,176,000 7,853,000 29,000,000 9,771,000 -21,265,000 -37,762,000 14,948,000 11,004,000 -13,648,000 66,000 18,751,000 4,931,000 5,407,000 1,247,000 18,856,000 -35,743,000 37,353,000 -10,275,000 9,974,000 11,609,000 9,280,000 -20,803,000 12,922,000 -3,973,000 7,145,000 1,161,000 -10,925,000 5,863,000 6,703,000   149,000 
          accrued expenses and other current liabilities
        -155,755,000 98,713,000 44,025,000 54,176,000 -94,262,000 71,399,000 -7,620,000 36,102,000 -12,447,000 7,861,000 -15,312,000 -25,235,000 -19,130,000   60,282,000 18,148,000 42,824,000 18,807,000 37,616,000 28,307,000 28,746,000 12,159,000 2,595,000 44,840,000 12,328,000 19,850,000 9,628,000 4,348,000 11,692,000 5,251,000 22,789,000   5,221,000 
          deferred revenue and customer deposits
        892,000 -1,446,000 11,155,000 -6,037,000 -1,634,000 16,929,000 7,000 -3,628,000 -2,127,000 -1,456,000 6,521,000 2,917,000 -2,611,000 3,518,000 -2,222,000 -2,531,000 -1,453,000 18,630,000 19,389,000 4,180,000 3,435,000 6,025,000 4,805,000 2,405,000 589,000 -75,000 1,116,000 1,550,000 377,000       
          operating lease liabilities
        -9,096,000 -8,724,000 -8,175,000 -8,387,000 -10,306,000 -13,368,000 -11,214,000 -11,707,000 -12,470,000 -14,894,000 -13,582,000 -14,213,000 -13,651,000 -12,292,000 -11,031,000 -18,069,000 -13,058,000 -12,772,000 -12,664,000 -11,557,000 -12,053,000 -8,777,000              
          other long-term liabilities
        -110,000 -950,000 -1,127,000 723,000 79,000 -885,000 -487,000 -968,000 306,000 5,910,000 -3,193,000 493,000 264,000 -2,502,000 332,000 -3,247,000 -4,415,000 -1,247,000 -1,309,000 2,860,000 -2,570,000              306,000 
          net cash from operating activities
        153,206,000 271,555,000 263,563,000 277,084,000 191,042,000 108,446,000 204,329,000 213,343,000 190,123,000 222,545,000 206,427,000 83,646,000 -97,866,000 -58,455,000 -115,772,000 -62,566,000 -17,575,000 -38,243,000 -46,171,000 21,717,000 4,505,000 14,901,000 3,842,000 -1,624,000 15,535,000 12,024,000 15,843,000 -4,706,000 -9,113,000 -6,392,000 2,289,000 16,936,000   2,440,000 
          capital expenditures
        -16,708,000 -14,005,000 -13,812,000 -12,588,000 -11,564,000 -11,549,000 -14,424,000 -14,681,000 -11,154,000 -9,399,000 -10,451,000 -10,215,000 -9,860,000 -9,856,000 -13,544,000 -12,111,000  2,234,000 -14,087,000 -11,405,000 -1,674,000 -2,153,000 -2,066,000 -9,990,000  -2,406,000 -17,117,000 -5,159,000 7,433,000 213,000 99,000 473,000   1,184,000 
          free cash flows
        136,498,000 257,550,000 249,751,000 264,496,000 179,478,000 96,897,000 189,905,000 198,662,000 178,969,000 213,146,000 195,976,000 73,431,000 -107,726,000 -68,311,000 -129,316,000 -74,677,000  -36,009,000 -60,258,000 10,312,000 2,831,000 12,748,000 1,776,000 -11,614,000  9,618,000 -1,274,000 -9,865,000 -1,680,000 -6,179,000 2,388,000 17,409,000   3,624,000 
          cash flows from investing activities:
                                           
          acquisitions, net of cash acquired. and payments related to prior period acquisitions
        -685,000                                   
          purchases of marketable securities and other investments
        -353,288,000 -270,624,000 -371,398,000 -194,992,000 -213,844,000 -184,142,000 -149,726,000 -154,405,000 -435,590,000 -561,028,000 -880,241,000 -375,615,000 -136,119,000 -287,578,000 -325,393,000 -1,078,492,000 -246,874,000 -297,433,000 -418,001,000 -1,167,299,000 -1,640,499,000 -171,432,000 -1,021,342,000 -215,791,000 -228,025,000 -269,297,000 -392,053,000         
          proceeds from sales and maturities of marketable securities and other investments
        333,644,000                                   
          capitalized software development costs
        -16,708,000 -14,005,000 -13,812,000 -12,588,000 -11,564,000 -11,549,000 -14,424,000 -14,681,000 -11,154,000 -9,399,000 -10,451,000 -10,215,000 -9,860,000 -9,856,000 -13,544,000 -12,111,000 -10,250,000 -8,047,000 -14,087,000 -11,405,000 -10,434,000 -7,214,000 -8,463,000 -9,025,000 -8,626,000 -5,113,000 -6,289,000 -5,169,000 -5,351,000       
          purchases of long-lived assets
        -4,153,000                       -6,478,000 -6,319,000 -26,374,000 -11,112,000         
          net cash from investing activities
        -41,190,000 -140,429,000 -161,502,000 402,019,000 -19,140,000 129,098,000 267,355,000 784,614,000 189,770,000 -137,142,000 -144,032,000 307,312,000 202,465,000 65,701,000 -46,524,000 -786,596,000 150,967,000 -38,260,000 -270,247,000 -815,468,000 -1,366,021,000 -224,910,000 -765,710,000 73,120,000 71,645,000 -103,081,000 -220,847,000 -831,663,000 -130,201,000       
          cash flows from financing activities:
                                           
          principal payments on finance leases
        -64,000 -51,000 -1,027,000 -1,977,000 -2,251,000                     -1,719,000          
          value of equity awards withheld for tax liabilities
        -42,000 -75,000 -85,000 -53,000 -19,000 -18,000 -45,000 -1,918,000 -29,000 -27,000 -53,000 -2,456,000 -18,000 -11,000 -4,000 -1,065,000 -3,836,000 -1,896,000 -1,882,000 -2,774,000 -4,551,000 -1,409,000 -1,144,000 -1,674,000 -1,264,000 -1,568,000 -1,518,000 -1,062,000       
          repurchases of shares of class a common stock and related costs
        -253,027,000 -198,467,000 -347,223,000 -196,993,000 -126,256,000 -420,118,000 -640,583,000 -916,799,000 -356,900,000 -119,880,000 -63,750,000 -370,128,000 -114,993,000                       
          proceeds from exercises of stock options
        559,000    2,766,000    421,000    3,264,000    11,727,000    11,564,000    8,231,000   9,927,000 15,328,000 8,863,000 7,037,000 6,678,000 4,350,000 5,419,000 12,735,000 
          net cash from financing activities
        -252,574,000 -183,435,000 -347,952,000 -175,914,000 -125,794,000 -407,770,000 -642,780,000 -897,793,000 -363,229,000 -107,389,000 -66,865,000 -347,818,000 -121,538,000 11,755,000 -1,150,000 30,295,000 4,107,000 57,025,000 14,444,000 265,407,000 2,759,449,000 16,752,000 1,413,270,000 58,686,000 4,603,000 14,116,000 -1,093,000 994,311,000 12,811,000 7,689,000 489,994,000 6,307,000 4,185,000 12,475,000 12,342,000 
          net increase in cash, cash equivalents and restricted cash
        -140,558,000 -52,309,000 -245,891,000 503,189,000 46,108,000  -171,096,000 100,164,000 16,664,000 -21,986,000 2,836,000 35,903,000 -16,900,000 18,915,000 -163,613,000 -818,581,000 137,526,000 -19,512,000 -301,988,000 -528,443,000 1,397,889,000 -193,217,000 651,402,000 130,182,000 91,783,000 -76,941,000 -206,097,000 157,942,000 -126,503,000 -9,701,000 375,776,000 2,451,000    
          cash, cash equivalents and restricted cash—beginning of period
        682,534,000 431,437,000 655,931,000 656,078,000 1,481,831,000  933,885,000  253,735,000 505,334,000 120,788,000    
          cash, cash equivalents and restricted cash —end of period
        541,976,000 -52,309,000 -245,891,000 503,189,000 477,545,000 -170,226,000 -171,096,000 100,164,000 672,595,000 -21,986,000 2,836,000 35,903,000 639,178,000 18,915,000 -163,613,000 -818,581,000 1,619,357,000  -301,988,000 -528,443,000 2,331,774,000  651,402,000 130,182,000 345,518,000 -76,941,000 -206,097,000 157,942,000 378,831,000 -9,701,000 375,776,000 123,239,000    
          cash paid for income taxes
        21,220,000 1,764,000 2,859,000 7,831,000 5,257,000 11,322,000 5,752,000 8,712,000 10,761,000 14,902,000 5,338,000 14,099,000 3,479,000 1,932,000 1,334,000 2,704,000 1,443,000 1,708,000   1,252,000 1,130,000 940,000 765,000 257,000 859,000 461,000 82,000 -34,000 223,000 303,000 18,000 116,000 331,000 42,000 
          cash paid for interest
        18,756,000 7,000 18,758,000 22,000 18,791,000 62,000 18,835,000 114,000 18,893,000 173,000 18,955,000 511,000 18,750,000 18,750,000 -261,000 19,011,000 1,092,000   263,000 849,000   198,000 884,000          
          reconciliation of cash, cash equivalents and restricted cash to the condensed consolidated balance sheets
                                           
          cash and cash equivalents
        541,976,000 -52,508,000 -234,386,000 502,135,000 467,094,000 -162,672,000 -171,096,000 82,470,000 672,595,000 -21,986,000 2,836,000 40,257,000 634,824,000 18,958,000 -165,831,000 -818,397,000 1,617,022,000 -18,046,000                  
          restricted cash in other long-term assets
           1,054,000 10,451,000      438,000   365,000 -269,000                  
          total cash, cash equivalents and restricted cash
        541,976,000 -52,309,000 -245,891,000 503,189,000 477,545,000 -170,226,000 -171,096,000 100,164,000 672,595,000 -21,986,000 2,836,000 35,903,000 639,178,000 18,915,000 -163,613,000 -818,581,000 1,619,357,000 -19,512,000                  
          impairment of long-lived assets
                                           
          realized and unrealized losses on equity securities
                                           
          provision for doubtful accounts
         1,869,000 2,675,000 1,233,000 2,453,000 17,270,000 3,758,000 8,161,000 6,204,000                   686,000 11,000       
          value of shares of class a common stock issued and donated to charity
         2,817,000        1,361,000   1,599,000                       
          impairment of equity method investment
                                           
          impairment of strategic investments
             6,750,000 803,000   46,154,000                       
          loss on net assets divested
                                          
          acquisitions, net of cash acquired and payments related to prior period acquisitions
                                          
          divestitures, net of cash divested
                                          
          purchases of long-lived and intangible assets
         -1,446,000 -2,235,000 -1,004,000 -1,163,000 -3,430,000 -792,000 -1,085,000 -1,671,000 -2,291,000 -765,000 -1,503,000 -6,751,000 -5,787,000 -17,855,000 -3,799,000 -6,980,000 -12,473,000 -21,435,000 -7,154,000 -4,986,000 -6,553,000              
          proceeds from exercises of stock options and shares of class a common stock issued under espp
         15,083,000 373,000   14,717,000 969,000   14,891,000 871,000   15,813,000 2,056,000                     
          effect of exchange rate changes on cash, cash equivalents and restricted cash
                 69,000 39,000 -86,000 -167,000 286,000 27,000 -34,000 -14,000 -99,000 -44,000         -713,000 670,000 148,000    
          reconciliation of cash, cash equivalents and restricted cash to the consolidated balance sheets
                                           
          restricted cash in other current assets
                   3,916,000 -43,000 2,206,000 181,000 1,970,000 -1,197,000                  
          proceeds from sales and maturities of marketable securities
          225,943,000 610,603,000 207,431,000 328,219,000 432,297,000 954,785,000 638,185,000 435,576,000 714,831,000 694,815,000 355,195,000 373,479,000 311,424,000 311,821,000 442,753,000 280,335,000 579,978,000 397,642,000 356,824,000 291,094,000 270,611,000 304,762,000 316,992,000 221,911,000 188,607,000         
          net loss
             -12,470,000 -9,726,000 -31,858,000 -55,349,000 -365,408,000 -141,707,000 -166,187,000 -342,139,000 -229,422,000 -482,327,000 -322,769,000 -221,627,000 -291,396,000 -224,109,000 -227,853,000 -206,542,000 -179,351,000 -116,914,000 -99,923,000 -94,791,000 -90,247,000 -87,734,000 -92,579,000 -36,503,000       
          adjustments to reconcile net loss to net cash from operating activities:
                                           
          payments of costs related to public offerings
                     -35,000  -70,000 -34,000 -360,000               
          net decrease in cash, cash equivalents and restricted cash
                                           
          unrealized loss on equity securities
                                           
          principal payments on debt and finance leases
              -3,148,000 -2,228,000 -4,832,000 -2,371,000 -3,959,000 -2,451,000 -7,353,000 -4,040,000 -3,195,000 332,000 -6,520,000 -3,443,000 1,806,000 -3,907,000 -2,751,000 -4,096,000              
          net increase in cash, cash equivalents and restricted cash, including cash classified as held for sale
                                           
          cash, cash equivalents and restricted cash classified as held for sale
                                           
          loss on extinguishment of debt
                         -21,000 21,384,000 7,602,000               
          proceeds from public offerings, net of underwriters' discounts
                                           
          proceeds from issuance of senior notes due 2029 and 2031, net of issuance costs
                                           
          proceeds from settlements of capped call, net of settlement costs
                                           
          non-cash financing activities:
                                           
          value of common stock issued and equity awards assumed in acquisition
                                    2,850,518,000       
          value of common stock issued to settle convertible senior notes due 2023
                                           
          impairment of long-lived assets due to office closures
                  3,162,000 9,332,000 21,784,000                       
          allowance for doubtful accounts
                  19,590,000                         
          loss on net assets divested and held for sale
                                           
          acquisitions, net of cash acquired and other related payments
                     -4,557,000 -1,156,000 -4,015,000 -27,682,000 -642,000 -396,702,000 -27,252,000 -66,926,000               
          impairment of long-lived assets due to 2022 office closures
                                           
          allowance for credit losses
                     13,226,000   2,558,000  3,704,000 5,682,000 1,985,000 4,822,000 1,302,000 2,945,000 4,170,000           
          value of shares of class a common stock donated to charity
                     1,025,000 1,911,000 2,373,000 4,232,000                   
          accrued expenses and restructuring costs
                     -46,978,000                      
          non-cash investing and financing activities:
                                           
          amortization of debt discount and issuance costs
                       375,000 338,000 370,000 376,000 1,708,000 3,373,000 5,327,000 6,076,000 6,178,000 6,178,000 6,007,000 6,007,000 5,841,000 5,841,000       
          proceeds from issuance of senior notes due 2029 and 2031
                                           
          payment of debt issuance costs
                                           
          proceeds from public offerings, net of underwriters' discount and issuance costs
                                           
          purchases of property and equipment through finance leases
                         10,281,000   5,266,000 5,061,000 9,681,000   2,707,000 -10,475,000 13,616,000       
          impairment of operating right-of-use assets
                                           
          tax benefit related to release of valuation allowance
                         -1,667,000    -15,743,000 -359,000 -195,000 -162,000 254,000 -2,497,000 -1,858,000 -51,644,000       
          cash, cash equivalents and restricted cash—beginning of year
                                           
          cash, cash equivalents and restricted cash —end of year
                                           
          value of donated common stock
                          8,389,000 6,789,000 9,405,000 6,563,000 5,757,000 3,972,000 2,701,000           
          proceeds from a public equity offering
                          1,766,400,000               
          proceeds from issuance of senior notes
                          987,500,000               
          payments of debt issuance costs
                          -1,389,000 -1,232,000 -130,000               
          proceeds from settlement of capped call, net of settlement costs
                                          
          proceeds from exercises of stock options and shares issued in espp
                          15,993,000                 
          purchases of property, equipment and intangible assets, accrued but not paid
                            3,494,000  -3,284,000 -965,000 5,510,000  -353,000 10,000 1,821,000 213,000 99,000 473,000 -252,000 -808,000 1,184,000 
          value of common stock issued and stock awards assumed in acquisition
                                           
          value of common stock issued to settle convertible senior notes
                            422,716,000 720,800,000              
          stock-based compensation capitalized in software development costs
                            4,650,000 3,186,000 3,696,000 3,597,000 3,418,000 2,066,000 2,467,000 1,621,000 1,623,000 1,525,000 1,481,000 1,428,000 1,155,000 848,000 709,000 
          costs related to public debt and equity offerings, accrued but not paid
                            2,681,000               
          costs related to proposed investment in syniverse, accrued but not paid
                            3,262,000               
          proceeds from a public offering, net of underwriting discount and issuance costs
                             -204,000              
          proceeds from issuance of convertible senior notes
                                          
          purchase of capped call
                                           
          finance lease right-of-use assets assumed in a business combination
                                          
          acquisition holdback
                                 3,750,000         
          long-term liabilities
                              772,000 -1,226,000 3,194,000 -787,000 -343,000 -113,000 -2,258,000    10,000   
          acquisitions, net of cash acquired, and other related payments
                              -61,000 -348,000 -2,377,000           
          proceeds from exercises of stock options and shares issued under espp
                              9,221,000             
          operating lease liability
                                           
          proceeds from a public offering, net of underwriting discount
                                         
          principal payments on finance leases and notes payable
                               -1,875,000 -1,954,000           
          operating right of use liability
                                -7,008,000 -5,741,000 -6,030,000 -7,583,000 -1,784,000       
          acquisitions, net of cash acquired
                                 -24,208,000 -9,826,000 156,783,000       
          principal payments on notes payable
                                 -4,403,000 -503,000 -494,000       
          repurchases of common stock
                                           
          right-of-use asset amortization
                                  6,025,000 5,853,000 4,854,000       
          payments of costs related to the public offering
                                  -503,000         
          proceeds from exercises of stock options and issuances under espp
                                           
          acquisition - value of common stock issued, stock awards assumed and measurement period adjustments
                                  -1,940,000         
          write-off of long lived assets
                                           
          other tax benefit realized in the period
                                           
          principal payments on financing leases
                                   -1,502,000 -961,000       
          proceeds from shares issued under espp
                                          
          cash paid on finance leases
                                   189,000 148,000       
          debt offering costs, accrued but not paid
                                     -364,000      
          costs related to public offerings, accrued but not paid
                                           
          write-off of internally developed software and intangible assets
                                    245,000       
          purchases of marketable securities
                                    -419,498,000       
          proceeds from sale of marketable securities
                                    13,708,000       
          maturities of marketable securities
                                    126,810,000 54,977,000 30,920,000 27,600,000 64,325,000   
          purchases of property and equipment
                                    -2,653,000       
          purchases of intangible assets
                                           
          amortization of debt issuance costs
                                     446,000      
          accretion of debt discount on convertible senior notes
                                     5,233,000      
          gain on lease termination
                                           
          customer deposits
                                     640,000 401,000 7,441,000    
          deferred revenue
                                        1,011,000 1,468,000 885,000 
          benefit from doubtful accounts
                                      1,140,000 375,000 125,000 210,000 72,000 
          write-off of internal-use software
                                      333,000 182,000    
          acquisition, net of cash acquired
                                           
          amortization of bond premium
                                       28,000 46,000 44,000 63,000 
          write-off of internally developed software
                                        70,000 26,000 
          increase in restricted cash
                                          
          proceeds from initial public offering, net of underwriting discounts
                                           
          proceeds from shares issued in espp
                                          
          tax benefit related to stock-based compensation
                                           
          effect of exchange rate changes on cash and cash equivalents
                                        46,000 31,000 11,000 
          net increase in cash and cash equivalents
                                           
          cash and cash equivalents—beginning of period
                                        305,665,000 
          cash and cash equivalents—end of period
                                        -278,000 -26,256,000 118,440,000 
          vesting of early exercised options
                                        68,000 92,000 155,000 
          costs related to the public offerings, accrued but not paid
                                          192,000 
          net decrease in cash and cash equivalents
                                           
          tax benefit related to acquisition
                                           
          payments of costs related to initial public offering
                                           
          net proceeds from issuance of convertible preferred stock
                                           
          repurchases of stock
                                           
          net cash provided by financing activities
                                           
          series e convertible preferred stock issuance costs accrued but not paid
                                           
          series t convertible preferred stock issued as part of purchase price in the authy acquisition
                                           
          costs related to the initial public offering, accrued but not paid