XML 21 R5.htm IDEA: XBRL DOCUMENT 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
Revenue      
Total revenue $ 1,211,653 $ 1,017,517 $ 911,383
Cost of revenue      
Total cost of revenue 336,363 310,913 310,022
Gross profit 875,290 706,604 601,361
Operating expenses      
Selling and marketing 625,886 545,693 474,459
Research and development 260,630 236,986 205,210
General and administrative 83,506 67,452 56,570
Total operating expenses 970,022 850,131 736,239
(Loss) from operations (94,732) (143,527) (134,878)
Foreign currency transaction (loss) gain (6,459) 3,704 (2,335)
Interest income 704 1,223 2,020
Interest expense (7,956) (19,356) (212)
(Loss) gain on capped call transactions (23,633) 31,697 0
Other income, net 89 1,370 559
(Loss) before (benefit from) income taxes (131,987) (124,889) (134,846)
(Benefit from) income taxes (68,947) (63,516) (44,413)
Net (loss) $ (63,040) $ (61,373) $ (90,433)
(Loss) per share      
Basic (in dollars per share) $ (0.77) $ (0.76) $ (1.14)
Diluted (in dollars per share) $ (0.77) $ (0.76) $ (1.14)
Weighted-average number of common shares outstanding      
Basic (in shares) 81,387 80,336 79,055
Diluted (in shares) 81,387 80,336 79,055
Subscription services      
Revenue      
Total revenue $ 621,223 $ 504,977 $ 414,326
Cost of revenue      
Total cost of revenue 120,446 98,886 91,484
Subscription license      
Revenue      
Total revenue 336,248 266,352 199,433
Cost of revenue      
Total cost of revenue 2,389 2,644 2,609
Perpetual license      
Revenue      
Total revenue 32,172 28,558 80,015
Cost of revenue      
Total cost of revenue 229 284 1,047
Consulting      
Revenue      
Total revenue 222,010 217,630 217,609
Cost of revenue      
Total cost of revenue $ 213,299 $ 209,099 $ 214,882