After a bit of research I decided that the thermal fuse was likely the problem. I ordered the part which arrived a couple of days later and used the video to figure out how to replace the fuse. As soon as the new fuse was installed the lights came back and the dishwasher is working again.