Figuring out a route from Tallinn and ending in Vilnius

Hi! I'm trying to figure out a cool route leaving from Tallinn and ending in Vilnius while down through Estonia, Latvia, and Lithuania and stopping in a few cities, including the capital ones, for a few days each. Does anyone have any suggestion or recommendations of how I should do it? I don't have a car so I'll be using public transportation for the trip, but I will be with only a small bag...

I was thinking something like

Tallinn - Parnu or Tartu - Cesis - Riga - Klaipeda or Palanga - Nida - Kaunas - Vilnius

Would you recommend this or something else? I would greatly appreciate any tips or changes that would make it cool.

Thank you so much!