Per 5e rules, you would get higher level spell slots, but not higher level spells. You could upcast a 1st or 2nd level spell, but not learn a 3rd level spell.

It is possible that Larian has made it so you can learn spells at the highest level that you have spell slots for, but I wouldn’t necessarily assume it to be true.