A mortgage lender has extended its lease at a two-building office complex in Basking Ridge, where it occupies nearly 3,000 square feet.