It is safe to travel to Latvia currently. You have to follow the main local regulations:
Face masks are mandatory indoors (only medical masks or FFP2 or higher-class respirators without valves are allowed to be used in public places)
Shopping places, indoor attractions and entertainment places, catering places, cultural and sports venues, and exhibitions require a COVID-19 certificate of vaccination or recovery.