4. Inventories
Inventories at January 31, 2022 and 2021 consisted of the following:
As of January 31,
2022
2021
(in thousands)
Work-in-progress
$
25,844
18,219
Finished goods
19,375
7,862
Total
45,219
26,081