v3.22.0.1
Consolidated Statements of Operations - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Income Statement [Abstract]      
Revenue $ 4,117,048 $ 2,506,626 $ 1,715,534
Costs and expenses:      
Cost of revenue 1,750,246 1,182,505 895,838
Research and development 1,565,467 1,101,561 883,509
Sales and marketing 792,764 555,468 458,598
General and administrative 710,640 529,164 580,917
Total costs and expenses 4,819,117 3,368,698 2,818,862
Operating loss (702,069) (862,072) (1,103,328)
Interest income 5,199 18,127 36,042
Interest expense (17,676) (97,228) (24,994)
Other income (expense), net 240,175 14,988 59,013
Loss before income taxes (474,371) (926,185) (1,033,267)
Income tax benefit (expense) (13,584) (18,654) (393)
Net loss $ (487,955) $ (944,839) $ (1,033,660)
Net loss per share attributable to Class A, Class B, and Class C common stockholders (Note 3):      
Basic $ (0.31) $ (0.65) $ (0.75)
Diluted $ (0.31) $ (0.65) $ (0.75)
Weighted average shares used in computation of net loss per share:      
Basic 1,558,997 1,455,693 1,375,462
Diluted 1,558,997 1,455,693 1,375,462