I am really surprised they are using essentially off-the-shelf USB cameras. I guess if it works, it works, but surprising that they didn't need to design circuitry to work in a space environment.
I am guessing the requirements for circuitry operating on Mars isn't quite as much as a spacecraft or satellite, but it is still getting hit with cosmic particles and solar radiation with no atmosphere.
See EDLCAM in https://link.springer.com/article/10.1007/s11214-020-00765-9