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 $ 1,541,889 $ 1,092,673 $ 742,555
Cost of revenue 339,404 352,547 242,373
Gross profit 1,202,485 740,126 500,182
Operating expenses:      
Sales and marketing 614,512 683,701 450,120
Research and development 387,487 560,660 305,563
General and administrative 611,532 669,444 320,943
Total operating expenses 1,613,531 1,913,805 1,076,626
Loss from operations (411,046) (1,173,679) (576,444)
Interest income 1,607 4,680 15,090
Interest expense (3,640) (14,139) (3,061)
Other income (expense), net (75,415) 4,111 (2,856)
Loss before provision for (benefit from) income taxes (488,494) (1,179,027) (567,271)
Provision for (benefit from) income taxes 31,885 (12,636) 12,375
Net loss $ (520,379) $ (1,166,391) $ (579,646)
Net loss per share attributable to common stockholders, basic $ (0.27) $ (1.19) $ (1.02)
Net loss per share attributable to common stockholders, diluted $ (0.27) $ (1.20) $ (1.02)
Weighted-average shares of common stock outstanding used in computing net loss per share attributable to common stockholders, basic 1,923,617 977,722 576,959
Weighted-average shares of common stock outstanding used in computing net loss per share attributable to common stockholders, diluted 1,923,617 979,330 576,959