A 29-year-old man with inflammatory back pain is diagnosed with ankylosing spondylitis. He has inadequate response to NSAIDs. According to rheumatology guidelines, which class of medication is commonly used as the next step in active axial spondyloarthritis?