The following tables present details of stock-based compensation and acquisition-related costs included in each functional line item in the condensed consolidated statements of operations above:
Three Months Ended October 31, | Nine Months Ended October 31, | |||||||||||
2021 | 2020 | 2021 | 2020 | |||||||||
(unaudited, in thousands) | ||||||||||||
Stock-based compensation: | ||||||||||||
Cost of revenue | $ | 391 | $ | 368 | $ | 1,073 | $ | 981 | ||||
Research and development | 13,725 | 11,496 | 36,444 | 31,402 | ||||||||
Selling, general and administrative | 7,937 | 7,113 | 22,750 | 19,024 | ||||||||
Total stock-based compensation | $ | 22,053 | $ | 18,977 | $ | 60,267 | $ | 51,407 | ||||
Three Months Ended October 31, | Nine Months Ended October 31, | |||||||||||
2021 | 2020 | 2021 | 2020 | |||||||||
(unaudited, in thousands) | ||||||||||||
Acquisition-related costs: | ||||||||||||
Cost of revenue | $ | 146 | $ | — | $ | 146 | $ | — | ||||
Research and development | 7 | — | 7 | — | ||||||||
Selling, general and administrative | 1,601 | — | 1,601 | — | ||||||||
Total acquisition-related costs | $ | 1,754 | $ | — | $ | 1,754 | $ | — | ||||