Correct, sig figs work a bit differently for logs. For a log, the number of sig figs is based on its decimal component (i.e. 0.22).
Therefore, a pH of 5.22 would have 2 sig figs based on its decimal component.
Keep this in mind whenever you're calculating pH, same rule applies when finding [H+]...