(Unaudited, in thousands, except per share amounts)
Three Months Ended March 31, | ||||||||
2020 | 2019 | |||||||
Revenue | $ | 165,778 | $ | 141,363 | ||||
Cost of revenue | 74,331 | 63,357 | ||||||
Gross profit | 91,447 | 78,006 | ||||||
Operating expenses: | ||||||||
Research and development | 25,956 | 25,458 | ||||||
Selling, general and administrative | 32,164 | 30,553 | ||||||
Litigation expense | 2,341 | 278 | ||||||
Total operating expenses | 60,461 | 56,289 | ||||||
Income from operations | 30,986 | 21,717 | ||||||
Other income (expense), net | (1,714 | ) | 3,341 | |||||
Income before income taxes | 29,272 | 25,058 | ||||||
Income tax benefit | (6,484 | ) | (1,123 | ) | ||||
Net income | $ | 35,756 | $ | 26,181 | ||||
Net income per share: | ||||||||
Basic | $ | 0.80 | $ | 0.61 | ||||
Diluted | $ | 0.77 | $ | 0.58 | ||||
Weighted-average shares outstanding: | ||||||||
Basic | 44,455 | 42,749 | ||||||
Diluted | 46,670 | 45,232 | ||||||