Ground-state phase diagram and thermodynamics of coupled trimer chains