Neither is categorically better because a wordmark and a figurative mark protect different things.
A wordmark protects the name in any font, color, or visual presentation. It is the strongest form of protection for the name itself and covers it regardless of how it is displayed. A figurative mark protects the specific visual design of the logo as shown in the registration; it does not extend to the name used in a different style.
For most businesses, the name is the more valuable long-term asset because it remains consistent across rebrandings and product lines. Registering the name as a wordmark is usually the priority. Where the logo is equally central to the brand identity, registering both provides the most complete coverage.