According to AMD Specs on your Ryzen 5 Pro 4560g the Maximum Operating Temperature is 95c. This means the processor is engineered to run up to 95c safely without damage or harm to the processor for long periods of time.
So if the hottest you got is 77c that is way below the M.O.T. of 95c. and you seem to have an excellent CPU Cooler.
I would worry if the processor temperature goes to 96c - 98c for long periods of time. That would, in the long run, end up shortening your processor's life span or even damage it and/or your Motherboard's CPU socket from the slight overheating.
If the processor temps goes above 95c for a very short time than that is not a problem. only running it above 95c for a long time is where you can damage your processor.
Plus once the processor's temp reaches 95c and above it will automatically throttle or slow down to keep the temp at or below 95c which is increase your rendering time longer due to the overheating issue.