Is the word "loss" used in the same way in the following two sentences?

The match ended in their first loss of the season.

The company operated at a loss last year.
different meanings