How do I know it is safe to hammer a nail into thin wood?
I would be using small screws - easily available in lengths less than 1/2&quot; but you are also helped by the bracket thickness.
Also you should drill pilot holes for the screws - make sure you plan the positions so that you don’t coincide with any letters.
Messing this up will affect the stability of your home life so measure carefully twice then cut once.