v3.19.3.a.u2
Consolidated Statements of Operations - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Income Statement [Abstract]      
Revenue $ 1,715,534 $ 1,180,446 $ 824,949
Costs and expenses:      
Cost of revenue 895,838 798,865 717,462
Research and development 883,509 772,185 1,534,863
Sales and marketing 458,598 400,824 522,605
General and administrative 580,917 477,022 1,535,595
Total costs and expenses 2,818,862 2,448,896 4,310,525
Operating loss (1,103,328) (1,268,450) (3,485,576)
Interest income 36,042 27,228 21,096
Interest expense (24,994) (3,894) (3,456)
Other income (expense), net 59,013 (8,248) 4,528
Loss before income taxes (1,033,267) (1,253,364) (3,463,408)
Income tax benefit (expense) (393) (2,547) 18,342
Net loss $ (1,033,660) $ (1,255,911) $ (3,445,066)
Net loss per share attributable to Class A, Class B, and Class C common stockholders (Note 3):      
Basic $ (0.75) $ (0.97) $ (2.95)
Diluted $ (0.75) $ (0.97) $ (2.95)
Weighted average shares used in computation of net loss per share:      
Basic 1,375,462 1,300,568 1,166,085
Diluted 1,375,462 1,300,568 1,166,085