XML 29 R4.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Revenue      
Total revenue $ 1,017,517 $ 911,383 $ 891,581
Cost of revenue      
Total cost of revenue 310,913 310,022 301,765
Gross profit 706,604 601,361 589,816
Operating expenses      
Selling and marketing 545,693 474,459 373,495
Research and development 236,986 205,210 181,710
General and administrative 67,452 56,570 51,643
Total operating expenses 850,131 736,239 606,848
(Loss) from operations (143,527) (134,878) (17,032)
Foreign currency transaction gain (loss) 3,704 (2,335) 2,421
Interest income 1,223 2,020 2,715
Interest expense (19,356) (212) (10)
Gain on capped call transactions 31,697 0 0
Other income (loss), net 1,370 559 363
(Loss) before (benefit from) income taxes (124,889) (134,846) (11,543)
(Benefit from) income taxes (63,516) (44,413) (22,160)
Net (loss) income $ (61,373) $ (90,433) $ 10,617
(Loss) earnings per share      
Basic (dollars per share) $ (0.76) $ (1.14) $ 0.14
Diluted (dollars per share) $ (0.76) $ (1.14) $ 0.13
Weighted-average number of common shares outstanding      
Basic (shares) 80,336 79,055 78,564
Diluted (shares) 80,336 79,055 83,064
Software license      
Revenue      
Total revenue $ 294,910 $ 279,448 $ 288,119
Cost of revenue      
Total cost of revenue 2,928 3,656 5,169
Maintenance      
Revenue      
Total revenue 296,709 280,580 263,875
Cost of revenue      
Total cost of revenue 22,311 25,656 24,565
Pega Cloud      
Revenue      
Total revenue 208,268 133,746 82,627
Cost of revenue      
Total cost of revenue 76,575 65,828 37,409
Consulting      
Revenue      
Total revenue 217,630 217,609 256,960
Cost of revenue      
Total cost of revenue $ 209,099 $ 214,882 $ 234,622