The following tables present details of stock-based compensation and acquisition-related costs included in each functional line item in the consolidated statements of operations above:
Three Months Ended January 31, | Twelve Months Ended January 31, | ||||||||||||||
2023 | 2022 | 2023 | 2022 | ||||||||||||
(unaudited, in thousands) | |||||||||||||||
Stock-based compensation: | |||||||||||||||
Cost of revenue | $ | 2,526 | $ | 416 | $ | 3,597 | $ | 1,489 | |||||||
Research and development | 17,461 | 18,343 | 71,236 | 54,787 | |||||||||||
Selling, general and administrative | 9,120 | 8,775 | 36,325 | 31,525 | |||||||||||
Total stock-based compensation | $ | 29,107 | $ | 27,534 | $ | 111,158 | $ | 87,801 | |||||||
Three Months Ended January 31, | Twelve Months Ended January 31, | ||||||||||||||
2023 | 2022 | 2023 | 2022 | ||||||||||||
(unaudited, in thousands) | |||||||||||||||
Acquisition-related costs: | |||||||||||||||
Cost of revenue | $ | 757 | $ | 757 | $ | 3,028 | $ | 903 | |||||||
Research and development | — | 1 | — | 8 | |||||||||||
Selling, general and administrative | 488 | 2,220 | 2,066 | 3,821 | |||||||||||
Total acquisition-related costs | $ | 1,245 | $ | 2,978 | $ | 5,094 | $ | 4,732 | |||||||