The company should provide you with a detail of the transaction. Your basis in the stock is the value on the date the stock vested. It's the same value used (on a per share basis) for your 1099-NEC. It sounds like instead of having shares issued to you and sold to pay taxes, they withheld shares and gave you the value in cash to pay your taxes. If that's the case, you won't have to report the sale of the stock. If they issued the stock to you, and it was sold in your brokerage account you would have received a Form 1099-B and need to report the sale. But based on your brief description, it sounds like all you need to do is report the 1099-NEC.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"