Do not think it is defective, temps looks about right like on YT reviews - is you screen bottom a bit warm on 100% brightness, I bet it is?
It is summer time here (23-24c+ indoor temp). Under 40C is not realistic. Nothing is stuck, processes are all fine. By doing light work I mean CPU usage up to 20%, watching 1440p video on YT, scrolling through tabs, opening some smaller apps. CPU is at 50-65c usually with this usage, which is not that bad, but chassis is warm for the lap. If it is on charger, it gets worse, or if you run something more demanding.
Same usage, 13 MBP M2 is drastically cooler outside, which is expected, thicker chassis. 13 MBP M1 was even cooler. MBA is just too thin, bad cooling design for portable laptop that is used in lap. Air needs fans more than the Pro model which never runs fans for light/medium usage
.